summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-03 21:25:48 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-03 21:25:48 +0000
commit42b028fa14d85fae9234e62867466d8c41821f07 (patch)
treecbc30a14271bc0c347162a5ad358ee01534be077 /toolchain/kernel-headers
parent9c3bf81864220c186fee4ea201400cf7e17b90ac (diff)
[toolchain] cosmetic & coherency fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14397 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index d787cf0a8..cf5a38429 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -32,6 +32,10 @@ ifeq ($(strip $(BOARD)),uml)
LINUX_KARCH:=$(ARCH)
endif
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.18)),1)
+ LINUX_HAS_HEADERS_INSTALL:=y
+endif
+
KMAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
ARCH=$(LINUX_KARCH) \
KBUILD_HAVE_NLS=no \
@@ -50,7 +54,7 @@ define Build/Prepare/pre/powerpc
fi
endef
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.18)),1)
+ifneq ($(LINUX_HAS_HEADERS_INSTALL),)
define Build/Prepare/all
mkdir -p $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr
$(KMAKE) \