do not apply iptables patches when building with CONFIG_EXTERNAL_KERNEL_TREE
authorFlorian Fainelli <florian@openwrt.org>
Thu, 4 Jun 2009 13:14:00 +0000 (13:14 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 4 Jun 2009 13:14:00 +0000 (13:14 +0000)
SVN-Revision: 16336

package/iptables/Makefile

index b7ffa5a212d1efce5083b2146e20da2538baabce..1879454c6d757bfe880257f0b228b1d2e5b61ee9 100644 (file)
@@ -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