Ensure ipmi conditional patch is applied
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 20 Aug 2007 06:24:28 +0000 (06:24 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 20 Aug 2007 06:24:28 +0000 (06:24 -0000)
toolchain/kernel-headers/kernel-headers-new.makefile

index f9dfcbc51039d9c7c4239d12222a2d9148e903f6..55fff4a73554d87cf1181faae9188eb3ba11d3ac 100644 (file)
@@ -60,6 +60,10 @@ $(LINUX_HEADERS_UNPACK_DIR)/.unpacked: $(DL_DIR)/$(LINUX_HEADERS_SOURCE)
 $(LINUX_HEADERS_UNPACK_DIR)/.patched: $(LINUX_HEADERS_UNPACK_DIR)/.unpacked
        toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) toolchain/kernel-headers \
                linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2}
+ifeq ($(BR2_KERNEL_HEADERS_IPMI),y)
+       toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) toolchain/kernel-headers/ipmi \
+               linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2}
+endif
 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}