summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-03-21 10:55:31 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-03-21 10:55:31 +0000
commit8db2e4f50d3dc36678b26fb8548de2b4c69166c3 (patch)
treef5555fb320e15248dc89b36786772be7bd91ce46
parent52742cfc2f0c84640b487396efb3fdea4d3da1b0 (diff)
downloadbuildroot-novena-8db2e4f50d3dc36678b26fb8548de2b4c69166c3.tar.gz
buildroot-novena-8db2e4f50d3dc36678b26fb8548de2b4c69166c3.zip
- apply openswan patches if openswan was enabled
-rw-r--r--toolchain/kernel-headers/kernel-headers-new.makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile
index 3426b38e1..b007c8520 100644
--- a/toolchain/kernel-headers/kernel-headers-new.makefile
+++ b/toolchain/kernel-headers/kernel-headers-new.makefile
@@ -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