aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-06-04 13:14:00 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-06-04 13:14:00 +0000
commitd861885cbfe46db4f83c2ef6983ae5209f64642b (patch)
treecdbf18d801139e0cf71d20edb897f057b381fdc9 /package/iptables
parent8f84508c25734905ab25b0de62f31f8df46b18a1 (diff)
downloadupstream-d861885cbfe46db4f83c2ef6983ae5209f64642b.tar.gz
upstream-d861885cbfe46db4f83c2ef6983ae5209f64642b.tar.bz2
upstream-d861885cbfe46db4f83c2ef6983ae5209f64642b.zip
do not apply iptables patches when building with CONFIG_EXTERNAL_KERNEL_TREE
SVN-Revision: 16336
Diffstat (limited to 'package/iptables')
-rw-r--r--package/iptables/Makefile4
1 files changed, 4 insertions, 0 deletions
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