X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fquilt.mk;h=b18b6364fe27b3aff1d58c35eede55f38cdc676d;hb=c188493d34c879e98123cc81f188e50fc7c7fa16;hp=a9af2268bc2273b8b12665e3248a4fd59edba55b;hpb=b42464ede09742cd73b853c19c11e7fd17e7d3b5;p=openwrt.git diff --git a/include/quilt.mk b/include/quilt.mk index a9af2268bc..b18b6364fe 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -1,4 +1,4 @@ -# +# # Copyright (C) 2007-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. @@ -17,6 +17,7 @@ HOST_FILES_DIR?=$(FILES_DIR) ifeq ($(MAKECMDGOALS),refresh) override QUILT=1 + override HOST_QUILT=1 endif QUILT_CMD:=quilt --quiltrc=- @@ -125,7 +126,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)"; \