From 810f88542a036cf62e7f1cf26933df814f34c034 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 18 Jun 2007 00:11:27 +0000 Subject: [PATCH] make sure quilt starts with the correct patch order in series git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7658 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/quilt.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/quilt.mk b/include/quilt.mk index e02fab087..47195293e 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 $@ -- 2.20.1