Ensure KERNEL_HEADER_PATCH_DIR is always defined + empty dir for x86

This commit is contained in:
Ulf Samuelsson 2007-08-20 07:24:10 +00:00
parent 349108bf57
commit 392ead671e
2 changed files with 5 additions and 0 deletions

View 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

View 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"