[OpenWrt-Devel] [PATCH v3 2/4] kernel.mk: Handle the x86_64 LINUX_KARCH case

Maxime Ripard maxime.ripard at free-electrons.com
Fri Nov 28 13:20:18 EST 2014


x64 is handled by the x86 architecture in Linux, add a case for it in
LINUX_KARCH.

Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
---
 include/kernel.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/kernel.mk b/include/kernel.mk
index 97eb1f74f4f7..2d15e9ad2712 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -84,6 +84,8 @@ else ifeq ($(ARCH),sh4)
   LINUX_KARCH := sh
 else ifeq ($(ARCH),i386)
   LINUX_KARCH := x86
+else ifeq ($(ARCH),x86_64)
+  LINUX_KARCH := x86
 else
   LINUX_KARCH := $(ARCH)
 endif
-- 
2.1.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list