make sure quilt starts with the correct patch order in series

SVN-Revision: 7658
This commit is contained in:
Felix Fietkau 2007-06-18 00:11:27 +00:00
parent 61f024c208
commit 5a198850d0
1 changed files with 4 additions and 0 deletions

View File

@ -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 $@