[package] do not apply iptables patches when building with CONFIG_EXTERNAL_KERNEL_TREE
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 4 Jun 2009 13:14:00 +0000 (13:14 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 4 Jun 2009 13:14:00 +0000 (13:14 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16336 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/iptables/Makefile

index b7ffa5a..1879454 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
 
This page took 0.029213 seconds and 4 git commands to generate.