summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-06 17:15:36 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-06 17:15:36 +0000
commitab8277e30dd2ad42c74b5fdd0b807a0fef3c100e (patch)
tree8f4896139d418769db10b3f82010c5b9145ab933 /package
parenteeb4024d383e00ee04c7a4a8c8d10ce60e5a9019 (diff)
[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
Diffstat (limited to 'package')
-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