From 3978c675708a217ea9c390c84cc890d383253980 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sun, 19 Aug 2007 22:01:27 +0000 Subject: Make ipmi kernelpatch selectable, add possibility for custom kernel patch --- toolchain/kernel-headers/kernel-headers-new.makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'toolchain/kernel-headers/kernel-headers-new.makefile') diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile index fd5dc344f..f9dfcbc51 100644 --- a/toolchain/kernel-headers/kernel-headers-new.makefile +++ b/toolchain/kernel-headers/kernel-headers-new.makefile @@ -51,6 +51,7 @@ endif ifeq ($(LINUX_HEADERS_IS_KERNEL),y) $(LINUX_HEADERS_UNPACK_DIR)/.unpacked: $(DL_DIR)/$(LINUX_HEADERS_SOURCE) + @echo "*** Using kernel-headers generated from kernel source" rm -rf $(LINUX_HEADERS_DIR) [ -d $(BUILD_DIR) ] || $(INSTALL) -d $(BUILD_DIR) $(LINUX_HEADERS_CAT) $(DL_DIR)/$(LINUX_HEADERS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - @@ -63,9 +64,9 @@ ifeq ($(BR2_KERNEL_HEADERS_LZMA),y) toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) toolchain/kernel-headers/lzma \ linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2} endif -ifneq ($(LINUX26_HEADERS_PATCH_DIR),) - toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) $(LINUX26_HEADERS_PATCH_DIR) \ - linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2} +ifeq ($(BR2_KERNEL_HEADERS_PATCH_DIR),y) + toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) $(KERNEL_HEADERS_PATCH_DIR) \ + \*.patch{,.gz,.bz2} endif ifeq ($(BR2_PACKAGE_OPENSWAN),y) toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) package/openswan \ -- cgit v1.2.3