diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-12-29 11:09:10 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-12-29 11:09:10 +0000 |
commit | ca4e275b70013eb410d44633cc166e805f29a931 (patch) | |
tree | 3e57ac25771eb8c6716c30b05ad809a31cdffe78 /toolchain | |
parent | 21262ab67124e555e082de47907a41eeebbdc897 (diff) | |
download | mtk-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')
-rw-r--r-- | toolchain/kernel-headers/Makefile | 7 |
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 |