summaryrefslogtreecommitdiff
path: root/include
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
commit5a198850d0403e0b3276cad48cc2b58e54b72dff (patch)
treea20a13f6a667e9ba2b03525a1ff65a35f3b2d438 /include
parent61f024c208929e8ec10e4d384430803a856799b4 (diff)
downloadmtk-20170518-5a198850d0403e0b3276cad48cc2b58e54b72dff.zip
mtk-20170518-5a198850d0403e0b3276cad48cc2b58e54b72dff.tar.gz
mtk-20170518-5a198850d0403e0b3276cad48cc2b58e54b72dff.tar.bz2
make sure quilt starts with the correct patch order in series
SVN-Revision: 7658
Diffstat (limited to 'include')
-rw-r--r--include/quilt.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/quilt.mk b/include/quilt.mk
index e02fab0..4719529 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 $@