proper series file support for regular packages
SVN-Revision: 9059
This commit is contained in:
parent
894bd2f7dc
commit
03543ec4a4
@ -44,7 +44,12 @@ ifneq ($(QUILT),)
|
|||||||
else
|
else
|
||||||
define Build/Patch/Default
|
define Build/Patch/Default
|
||||||
@if [ -d $(PATCH_DIR) -a "$$$$(ls $(PATCH_DIR) | wc -l)" -gt 0 ]; then \
|
@if [ -d $(PATCH_DIR) -a "$$$$(ls $(PATCH_DIR) | wc -l)" -gt 0 ]; then \
|
||||||
|
if [ -f $(PATCH_DIR)/series ]; then \
|
||||||
|
grep -vE '^#' $(PATCH_DIR)/series | xargs -n1 \
|
||||||
$(PATCH) $(PKG_BUILD_DIR) $(PATCH_DIR); \
|
$(PATCH) $(PKG_BUILD_DIR) $(PATCH_DIR); \
|
||||||
|
else \
|
||||||
|
$(PATCH) $(PKG_BUILD_DIR) $(PATCH_DIR); \
|
||||||
|
fi; \
|
||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user