From ab8277e30dd2ad42c74b5fdd0b807a0fef3c100e Mon Sep 17 00:00:00 2001
From: florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 6 Feb 2012 17:15:36 +0000
Subject: [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
---
 package/iptables/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'package/iptables')

diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index b60990cab..5f5663023 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
-- 
cgit v1.2.3