summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/device/x86/i386/Makefile.in2
-rw-r--r--toolchain/kernel-headers/kernel-headers-new.makefile3
2 files changed, 5 insertions, 0 deletions
diff --git a/target/device/x86/i386/Makefile.in b/target/device/x86/i386/Makefile.in
index 08ae1b1a2..c1c6ac0c1 100644
--- a/target/device/x86/i386/Makefile.in
+++ b/target/device/x86/i386/Makefile.in
@@ -15,3 +15,5 @@ endif
else
LINUX26_FORMAT=$(strip $(BR2_PACKAGE_LINUX_FORMAT))
endif
+
+KERNEL_HEADERS_PATCH_DIR:=$(BR2_BOARD_PATH)/kernel-header-patches
diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile
index 55fff4a73..1a8a83fde 100644
--- a/toolchain/kernel-headers/kernel-headers-new.makefile
+++ b/toolchain/kernel-headers/kernel-headers-new.makefile
@@ -49,6 +49,9 @@ LINUX_HEADERS_IS_KERNEL=y
endif
ifeq ($(LINUX_HEADERS_IS_KERNEL),y)
+# Need to redefine KERNEL_HEADERS_PATCH_DIR if you want
+# board specific kernel headers
+KERNEL_HEADERS_PATCH_DIR:=toolchain/kernel-headers/empty
$(LINUX_HEADERS_UNPACK_DIR)/.unpacked: $(DL_DIR)/$(LINUX_HEADERS_SOURCE)
@echo "*** Using kernel-headers generated from kernel source"