Ensure KERNEL_HEADER_PATCH_DIR is always defined + empty dir for x86
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 20 Aug 2007 07:24:10 +0000 (07:24 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 20 Aug 2007 07:24:10 +0000 (07:24 -0000)
target/device/x86/i386/Makefile.in
toolchain/kernel-headers/kernel-headers-new.makefile

index 08ae1b1a28655fd4a7e41b32401b87be6596647e..c1c6ac0c1d3aaab01ebbf15027b6acda6213bfce 100644 (file)
@@ -15,3 +15,5 @@ endif
 else
 LINUX26_FORMAT=$(strip $(BR2_PACKAGE_LINUX_FORMAT))
 endif
+
+KERNEL_HEADERS_PATCH_DIR:=$(BR2_BOARD_PATH)/kernel-header-patches
index 55fff4a73554d87cf1181faae9188eb3ba11d3ac..1a8a83fde89f21294fd217ad62f18f1f2a9a44f7 100644 (file)
@@ -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"