From: nbd Date: Thu, 4 Oct 2007 15:32:55 +0000 (+0000) Subject: separate series file fixup from quilt check to avoid series file breakages after... X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=33a50bcf1eccedb7b53a79bb73f8b421329c440e separate series file fixup from quilt check to avoid series file breakages after fixing a broken patch stack with quilt git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9120 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/quilt.mk b/include/quilt.mk index 667653f32..daeef9431 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -54,10 +54,11 @@ endef QUILT?=$(strip $(shell test -f $(PKG_BUILD_DIR)/.quilt_used && echo y)) ifneq ($(QUILT),) STAMP_PATCHED:=$(PKG_BUILD_DIR)/.quilt_patched + STAMP_CHECKED:=$(PKG_BUILD_DIR)/.quilt_checked override CONFIG_AUTOREBUILD= - $(STAMP_CONFIGURED): $(STAMP_PATCHED) FORCE + $(STAMP_CONFIGURED): $(STAMP_CHECKED) FORCE prepare: $(STAMP_PATCHED) - quilt-check: $(STAMP_PATCHED) + quilt-check: $(STAMP_CHECKED) endif define Build/Patch/Default @@ -119,6 +120,9 @@ $(STAMP_PATCHED): $(STAMP_PREPARED) find * -type f \! -name series | sort > series; \ fi; \ ) + touch $@ + +$(STAMP_CHECKED): $(STAMP_PATCHED) if [ -s "$(PKG_BUILD_DIR)/patches/series" ]; then (cd $(PKG_BUILD_DIR); quilt push -a); fi touch $@