aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/Makefile
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
commit556ff80527f0f825b2f1c19072668443e36b3a5c (patch)
tree24de3aa7937cf3da47acf8f1318e29efac534501 /toolchain/kernel-headers/Makefile
parent1bde0390cfc1b2befe28803e8caf01dffc01beba (diff)
downloadupstream-556ff80527f0f825b2f1c19072668443e36b3a5c.tar.gz
upstream-556ff80527f0f825b2f1c19072668443e36b3a5c.tar.bz2
upstream-556ff80527f0f825b2f1c19072668443e36b3a5c.zip
mark uml as broken and add some cleanups (not working yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6439 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/kernel-headers/Makefile')
-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