summaryrefslogtreecommitdiff
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
commitca4e275b70013eb410d44633cc166e805f29a931 (patch)
tree3e57ac25771eb8c6716c30b05ad809a31cdffe78 /toolchain/kernel-headers/Makefile
parent21262ab67124e555e082de47907a41eeebbdc897 (diff)
downloadmtk-20170518-ca4e275b70013eb410d44633cc166e805f29a931.zip
mtk-20170518-ca4e275b70013eb410d44633cc166e805f29a931.tar.gz
mtk-20170518-ca4e275b70013eb410d44633cc166e805f29a931.tar.bz2
fix uml-2.6 build with 2.6.19.1
SVN-Revision: 5926
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 d823f19..3731673 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