aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-06-02 09:27:07 +0000
committerJohn Crispin <john@openwrt.org>2007-06-02 09:27:07 +0000
commit5ae3b0b713159680d22b3d6cd92a4bfb1a69df08 (patch)
tree5170854534e19c16d6985c0eb8a436d79e06e399 /toolchain/kernel-headers
parente4550a0ebc81c8e6ba0de1051c930f0414f6bc4c (diff)
downloadupstream-5ae3b0b713159680d22b3d6cd92a4bfb1a69df08.tar.gz
upstream-5ae3b0b713159680d22b3d6cd92a4bfb1a69df08.tar.bz2
upstream-5ae3b0b713159680d22b3d6cd92a4bfb1a69df08.zip
Fixed a bug in the kernel-headers/Makefile introduced by the cris merge
SVN-Revision: 7444
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 6a60b56097..c85325e920 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -15,8 +15,8 @@ PKG_SOURCE_URL=$(LINUX_SITE)
PKG_BUILD_DIR:=$(TOOLCHAIN_BUILD_DIR)/linux-$(PKG_VERSION)
-LINUX_DIR:=$(PKG_BUILD_DIR)/linux-$(LINUX_VERSION)
-KERNEL_BUILD_DIR:=$(PKG_BUILD_DIR)
+LINUX_DIR:=$(PKG_BUILD_DIR)
+KERNEL_BUILD_DIR:=$(TOOLCHAIN_BUILD_DIR)
include $(INCLUDE_DIR)/kernel-defaults.mk
include $(INCLUDE_DIR)/host-build.mk
@@ -39,6 +39,8 @@ endef
else
define Build/Prepare
$(call Kernel/Prepare/Default)
+ $(SED) 's/@expr length/@-expr length/' $(PKG_BUILD_DIR)/Makefile
+ ln -sf $(PKG_BUILD_DIR) $(LINUX_HEADERS_DIR)
endef
endif