aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-02-06 17:15:36 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-02-06 17:15:36 +0000
commit81cebd97b1e883732dd884b0e522c171919303be (patch)
tree8f4896139d418769db10b3f82010c5b9145ab933
parent84ba1dce6b3c4f41c7428b80eb565c6e9ac6118f (diff)
downloadupstream-81cebd97b1e883732dd884b0e522c171919303be.tar.gz
upstream-81cebd97b1e883732dd884b0e522c171919303be.tar.bz2
upstream-81cebd97b1e883732dd884b0e522c171919303be.zip
[package] iptables: don't apply patches if building an external kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30339 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 b60990cabf..5f56630237 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -23,6 +23,10 @@ PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
+ifneq ($(CONFIG_EXTERNAL_KERNEL_TREE),"")
+PATCH_DIR:=
+endif
+
include $(INCLUDE_DIR)/package.mk
ifeq ($(DUMP),)
-include $(LINUX_DIR)/.config