From 392ead671e8400a31ce50447efa2c1ab8060875b Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Mon, 20 Aug 2007 07:24:10 +0000 Subject: [PATCH] Ensure KERNEL_HEADER_PATCH_DIR is always defined + empty dir for x86 --- target/device/x86/i386/Makefile.in | 2 ++ toolchain/kernel-headers/kernel-headers-new.makefile | 3 +++ 2 files changed, 5 insertions(+) diff --git a/target/device/x86/i386/Makefile.in b/target/device/x86/i386/Makefile.in index 08ae1b1a28..c1c6ac0c1d 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 55fff4a735..1a8a83fde8 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" -- 2.30.2