Browse Source

iptables: don't apply patches if building an external kernel

SVN-Revision: 30339
Florian Fainelli 14 years ago
parent
commit
620843b2ee
1 changed files with 4 additions and 0 deletions
  1. 4 0
      package/iptables/Makefile

+ 4 - 0
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