quilt: add a NO_RECONFIGURE override for compiling a package without re-running Build...
authorFelix Fietkau <nbd@openwrt.org>
Mon, 13 Feb 2012 15:31:28 +0000 (15:31 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 13 Feb 2012 15:31:28 +0000 (15:31 +0000)
SVN-Revision: 30500

include/quilt.mk

index a9af226..925b7a7 100644 (file)
@@ -125,7 +125,8 @@ define Quilt/Refresh/Kernel
 endef
 
 define Quilt/Template
-  $($(2)STAMP_CONFIGURED): $($(2)STAMP_CHECKED) FORCE
+  $($(2)STAMP_CONFIGURED): $($(2)STAMP_CHECKED)
+  $(if $(NO_RECONFIGURE),$($(2)STAMP_BUILT),$($(2)STAMP_CONFIGURED)): FORCE
   $($(2)STAMP_CHECKED): $($(2)STAMP_PREPARED)
        if [ -s "$(1)/patches/series" ]; then \
                (cd "$(1)"; \