aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
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
commitca4e275b70013eb410d44633cc166e805f29a931 (patch)
tree3e57ac25771eb8c6716c30b05ad809a31cdffe78 /toolchain
parent21262ab67124e555e082de47907a41eeebbdc897 (diff)
downloadupstream-ca4e275b70013eb410d44633cc166e805f29a931.tar.gz
upstream-ca4e275b70013eb410d44633cc166e805f29a931.tar.bz2
upstream-ca4e275b70013eb410d44633cc166e805f29a931.zip
fix uml-2.6 build with 2.6.19.1
SVN-Revision: 5926
Diffstat (limited to 'toolchain')
-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