summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-28 18:25:14 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-28 18:25:14 +0000
commit103e8ec36641ab269573afc206864ef12f2677e6 (patch)
tree24de3aa7937cf3da47acf8f1318e29efac534501 /toolchain/kernel-headers/Makefile
parent89fc161def2a55790a9ddb33915792160ec9cf25 (diff)
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 dbeb144c9..0ef907976 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