aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-12-29 11:09:10 +0000
committerNicolas Thill <nico@openwrt.org>2006-12-29 11:09:10 +0000
commit6ec0982138960a3cca80df80f1d10cec30fcb601 (patch)
treeab9e74d921c3c291b7c9283fbbd17f7b155aeb1b /toolchain/kernel-headers/Makefile
parent01bafb0b3b2be1ba8a0b859ed6c018bb4a211634 (diff)
downloadupstream-6ec0982138960a3cca80df80f1d10cec30fcb601.tar.gz
upstream-6ec0982138960a3cca80df80f1d10cec30fcb601.tar.bz2
upstream-6ec0982138960a3cca80df80f1d10cec30fcb601.zip
fix uml-2.6 build with 2.6.19.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5926 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/kernel-headers/Makefile')
-rw-r--r--toolchain/kernel-headers/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index d823f196c2..3731673e5d 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -31,9 +31,14 @@ define Build/Configure/powerpc
mv $(PKG_BUILD_DIR)/include/asm-powerpc $(PKG_BUILD_DIR)/include/asm-ppc
endef
-KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
+ifneq (,$(findstring uml,$(BOARD)))
+ KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
+ CONFIG_SHELL=$(BASH)
+else
+ KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
ARCH=$(LINUX_KARCH) \
CONFIG_SHELL=$(BASH)
+endif
define Build/Configure
yes '' | $(KMAKE) oldconfig