From 8db2e4f50d3dc36678b26fb8548de2b4c69166c3 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 21 Mar 2007 10:55:31 +0000 Subject: - apply openswan patches if openswan was enabled --- toolchain/kernel-headers/kernel-headers-new.makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3