aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-18 00:11:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-18 00:11:27 +0000
commit7e119ed0063cad60ccd256cfc957690620bd0352 (patch)
tree35b8cdb4e10e6dae43a8a90f1230325900eacd9a
parent4b92358efb4ecc5c765393701f55be8580297eba (diff)
downloadupstream-7e119ed0063cad60ccd256cfc957690620bd0352.tar.gz
upstream-7e119ed0063cad60ccd256cfc957690620bd0352.tar.bz2
upstream-7e119ed0063cad60ccd256cfc957690620bd0352.zip
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
-rw-r--r--include/quilt.mk4
1 files changed, 4 insertions, 0 deletions
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 $@