mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:03:08 +02:00
proper series file support for regular packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9059 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fffefa41d8
commit
b15366186d
@ -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 \
|
||||||
$(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
|
fi
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user