iptables: don't apply patches if building an external kernel
authorFlorian Fainelli <florian@openwrt.org>
Mon, 6 Feb 2012 17:15:36 +0000 (17:15 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 6 Feb 2012 17:15:36 +0000 (17:15 +0000)
SVN-Revision: 30339

package/iptables/Makefile

index b60990cabfcf1a9faa17941e2690398688298080..5f56630237ca42de03241e05528ad5bb33291063 100644 (file)
@@ -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