some minor fixes, cleanups, package build abstraction
[openwrt/openwrt.git] / include / quilt.mk
index a7aac91c06cd230975655ef0869e258c46415d0d..4dce2a6d8ca2ef59312ab255d8c3100b1a2ce941 100644 (file)
@@ -5,6 +5,9 @@
 # See /LICENSE for more information.
 #
 
+ifneq ($(__quilt_inc),1)
+__quilt_inc:=1
+
 ifeq ($(TARGET_BUILD),1)
   PKG_BUILD_DIR:=$(LINUX_DIR)
 endif
@@ -134,3 +137,4 @@ refresh: quilt-check
 update: quilt-check
        $(if $(KERNEL_BUILD),$(Quilt/Refresh/Kernel),$(Quilt/Refresh/Package))
 
+endif