summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/kernel-headers.mk
diff options
context:
space:
mode:
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