summaryrefslogtreecommitdiffstats
path: root/include/quilt.mk
diff options
context:
space:
mode:
Diffstat (limited to 'include/quilt.mk')
-rw-r--r--include/quilt.mk4
1 files changed, 4 insertions, 0 deletions
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 $@