iptables: don't apply patches if building an external kernel
[openwrt/staging/mkresin.git] / 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