aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-28 18:25:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-28 18:25:14 +0000
commit2a7df081194176aa9f57e30899e9e31970c0712a (patch)
tree3aaa0c797d0f9c317f02e4d0baf8b251770fd3a0 /toolchain/kernel-headers
parentfd854cdd2a8dbba25d1b073549855d25e8b2aed6 (diff)
downloadupstream-2a7df081194176aa9f57e30899e9e31970c0712a.tar.gz
upstream-2a7df081194176aa9f57e30899e9e31970c0712a.tar.bz2
upstream-2a7df081194176aa9f57e30899e9e31970c0712a.zip
mark uml as broken and add some cleanups (not working yet)
SVN-Revision: 6439
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index dbeb144c95..0ef907976d 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -33,15 +33,13 @@ define Build/Configure/powerpc
endef
ifneq (,$(findstring uml,$(BOARD)))
- KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
- ARCH=i386 \
- CONFIG_SHELL=$(BASH)
-else
- KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
- ARCH=$(LINUX_KARCH) \
- CONFIG_SHELL=$(BASH)
+ LINUX_KARCH:=$(ARCH)
endif
+KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
+ ARCH=$(LINUX_KARCH) \
+ CONFIG_SHELL=$(BASH)
+
define Build/Configure
yes '' | $(KMAKE) oldconfig
$(KMAKE) include/linux/version.h include/asm