diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-12-29 11:09:10 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-12-29 11:09:10 +0000 |
commit | ec0548de300a4a2a54bc1d0c5007e28cdf32b880 (patch) | |
tree | ab9e74d921c3c291b7c9283fbbd17f7b155aeb1b /toolchain/kernel-headers | |
parent | bdeecf5a5911219d9c403d43ffe04cf732cfa50d (diff) |
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')
-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 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 |