aboutsummaryrefslogtreecommitdiffstats
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
commit8d24c39b1bca4a5a8415ac315703d62b6a7bc630 (patch)
treedf256d3a7d10a1ba75e9b97b8d66e3c4c240783f
parentda93c74c84bde7e9c5755de635c5b68b1d546202 (diff)
downloadmaster-187ad058-8d24c39b1bca4a5a8415ac315703d62b6a7bc630.tar.gz
master-187ad058-8d24c39b1bca4a5a8415ac315703d62b6a7bc630.tar.bz2
master-187ad058-8d24c39b1bca4a5a8415ac315703d62b6a7bc630.zip
[package] do not apply iptables patches when building with CONFIG_EXTERNAL_KERNEL_TREE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16336 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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