summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/kernel-headers.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-06 21:39:12 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-06 21:39:12 +0000
commit5ffafed1dfe75e4833b390fbcbaa583d7a588406 (patch)
tree950c816ee6ef392dc87f6d67b093bdcd74c579a5 /toolchain/kernel-headers/kernel-headers.mk
parentdedaadb730c709423deea13cd52e9cf54db44f57 (diff)
add some fixes for compiling on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@574 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/kernel-headers/kernel-headers.mk')
-rw-r--r--toolchain/kernel-headers/kernel-headers.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk
index 05d9f53bde..35a2e66302 100644
--- a/toolchain/kernel-headers/kernel-headers.mk
+++ b/toolchain/kernel-headers/kernel-headers.mk
@@ -30,6 +30,7 @@ $(LINUX_HEADERS_DIR)/.unpacked: $(DL_DIR)/$(LINUX_HEADERS_SOURCE)
linux-$(LINUX_HEADERS_VERSION)/*/*/Config.in \
linux-$(LINUX_HEADERS_VERSION)/*/Config.in
ln -sf $(LINUX_HEADERS_DIR)-$(LINUX_HEADERS_VERSION) $(LINUX_HEADERS_DIR)
+ $(SED) 's/@expr length/@-expr length/' $(LINUX_HEADERS_DIR)/Makefile
touch $(LINUX_HEADERS_DIR)/.unpacked
$(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_DIR)/.unpacked