summaryrefslogtreecommitdiff
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
commit620843b2eef4c20d4fd63ba5fd3d30392702c5c0 (patch)
tree0743467e8211c21787b11014ac1b8494e39b546e
parentf1051a296d362c16a89ab672a54abb24ea26370b (diff)
downloadmtk-20170518-620843b2eef4c20d4fd63ba5fd3d30392702c5c0.zip
mtk-20170518-620843b2eef4c20d4fd63ba5fd3d30392702c5c0.tar.gz
mtk-20170518-620843b2eef4c20d4fd63ba5fd3d30392702c5c0.tar.bz2
iptables: don't apply patches if building an external kernel
SVN-Revision: 30339
-rw-r--r--package/iptables/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index b60990c..5f56630 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