From: Felix Fietkau Date: Mon, 18 Jun 2007 00:11:27 +0000 (+0000) Subject: make sure quilt starts with the correct patch order in series X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=96b6135b8f68beb6b58357d3d3911c0945ccde51 make sure quilt starts with the correct patch order in series SVN-Revision: 7658 --- diff --git a/include/quilt.mk b/include/quilt.mk index e02fab0879..47195293e8 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -57,6 +57,10 @@ endef $(STAMP_PATCHED): $(STAMP_PREPARED) @cd $(PKG_BUILD_DIR); quilt pop -a -f >/dev/null 2>/dev/null || true + (\ + cd $(PKG_BUILD_DIR)/patches; \ + find * -type f \! -name series | sort > series; \ + ) [ -f "$(PKG_BUILD_DIR)/patches/series" ] && cd $(PKG_BUILD_DIR); quilt push -a touch $@