- apply openswan patches if openswan was enabled
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 21 Mar 2007 10:55:31 +0000 (10:55 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 21 Mar 2007 10:55:31 +0000 (10:55 -0000)
toolchain/kernel-headers/kernel-headers-new.makefile

index 3426b38e13ad0f5a4d5b1f4dad19b55fa957a603..b007c85208d196cd02c9c238bacb27be533e4b3a 100644 (file)
@@ -30,6 +30,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_PACKAGE_OPENSWAN),y)
+       toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) package/openswan \
+               linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2}
+endif
        touch $@
 
 $(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_UNPACK_DIR)/.patched