From: Florian Fainelli Date: Thu, 4 Jun 2009 13:14:00 +0000 (+0000) Subject: [package] do not apply iptables patches when building with CONFIG_EXTERNAL_KERNEL_TREE X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=656d8757d0802c3b8d643c2517e1d6f43c5169f1 [package] do not apply iptables patches when building with CONFIG_EXTERNAL_KERNEL_TREE SVN-Revision: 16336 --- diff --git a/package/iptables/Makefile b/package/iptables/Makefile index b7ffa5a212..1879454c6d 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -19,7 +19,11 @@ PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \ ftp://ftp.de.netfilter.org/pub/netfilter/iptables/ \ ftp://ftp.no.netfilter.org/pub/netfilter/iptables/ +ifeq ($(CONFIG_EXTERNAL_KERNEL_TREE),) PATCH_DIR:=./patches/$(PKG_VERSION) +else +PATCH_DIR:= +endif PKG_FIXUP = libtool