-$(UCI_DIR)/.patched: $(UCI_DIR)/.prepared $(UCI_PATCHDIR)/series
- (cd $(UCI_DIR); \
- if [ -x "$$(which quilt 2>/dev/null)" ]; then \
- quilt push -a; \
- else \
- cat patches/*.patch | patch -p1; \
- fi; \
- )
- touch $@
-
-refresh: $(UCI_DIR)/.patched
- (cd $(UCI_DIR); \
- for i in $$(quilt series); do \
- quilt refresh $$i; \
- done; \
- )
-
-compile: $(UCI_DIR)/.patched