aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2007-06-02 09:27:07 +0000
committerJohn Crispin <blogic@openwrt.org>2007-06-02 09:27:07 +0000
commitefa6703d9888c0e8d017d7ce3669def406cbeabe (patch)
tree10db0ef14a85902f2dea25f0305b34207bfb652c
parentea9d43e9cf29aefea45de481ff20b2cd2e2c916b (diff)
downloadupstream-efa6703d9888c0e8d017d7ce3669def406cbeabe.tar.gz
upstream-efa6703d9888c0e8d017d7ce3669def406cbeabe.tar.bz2
upstream-efa6703d9888c0e8d017d7ce3669def406cbeabe.zip
Fixed a bug in the kernel-headers/Makefile introduced by the cris merge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7444 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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