add some fixes for compiling on mac os x
[openwrt.git] / openwrt / toolchain / kernel-headers / kernel-headers.mk
index 05d9f53..35a2e66 100644 (file)
@@ -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
This page took 0.022718 seconds and 4 git commands to generate.