summaryrefslogtreecommitdiff
path: root/target/native
diff options
context:
space:
mode:
Diffstat (limited to 'target/native')
-rw-r--r--target/native/Makefile1
-rw-r--r--target/native/device.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/target/native/Makefile b/target/native/Makefile
index 4f38c3a0b..3b4039167 100644
--- a/target/native/Makefile
+++ b/target/native/Makefile
@@ -2,6 +2,7 @@
# material, please see the LICENCE file in the top-level directory.
include $(TOPDIR)/rules.mk
+include $(TOPDIR)/mk/vars.mk
include $(TOPDIR)/mk/kernel.mk
include $(TOPDIR)/mk/modules.mk
include $(TOPDIR)/mk/kernel-build.mk
diff --git a/target/native/device.mk b/target/native/device.mk
index 0b28f9c9e..8f861905d 100644
--- a/target/native/device.mk
+++ b/target/native/device.mk
@@ -1,4 +1,4 @@
-ARCH:= $(shell uname -m|sed -e "s/i.*86/x86/")
+ARCH:= $(shell uname -m|sed -e "s/i.*86/x86/" -e "s/_64//")
CPU_ARCH:= $(shell uname -m)
KERNEL_VERSION:= 2.6.30.5
KERNEL_RELEASE:= 1