From 03543ec4a4ee24df583843d386a7a39372865961 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 29 Sep 2007 00:25:38 +0000 Subject: proper series file support for regular packages SVN-Revision: 9059 --- include/quilt.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/quilt.mk b/include/quilt.mk index 4dce2a6d8c..c156d3062d 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -44,7 +44,12 @@ ifneq ($(QUILT),) else define Build/Patch/Default @if [ -d $(PATCH_DIR) -a "$$$$(ls $(PATCH_DIR) | wc -l)" -gt 0 ]; then \ - $(PATCH) $(PKG_BUILD_DIR) $(PATCH_DIR); \ + if [ -f $(PATCH_DIR)/series ]; then \ + grep -vE '^#' $(PATCH_DIR)/series | xargs -n1 \ + $(PATCH) $(PKG_BUILD_DIR) $(PATCH_DIR); \ + else \ + $(PATCH) $(PKG_BUILD_DIR) $(PATCH_DIR); \ + fi; \ fi endef endif -- cgit v1.2.3