run: add --depot-auto-update feature

If enabled, this option triggers the automated management of depot
content according to the needs of a run script.

Fixes #3270
This commit is contained in:
Norman Feske
2019-04-01 17:28:12 +02:00
committed by Christian Helmuth
parent d027f12764
commit a3411c8e96
4 changed files with 66 additions and 0 deletions

View File

@@ -3,3 +3,6 @@
## Run-tool configuration
##
# create depot archives and update recipe versions automatically
#RUN_OPT += --depot-auto-update

View File

@@ -323,6 +323,7 @@ run/%: $(call select_from_repositories,run/%.run) $(RUN_ENV)
--repositories "$(REPOSITORIES)" \
--cross-dev-prefix "$(CROSS_DEV_PREFIX)" \
--qemu-args "$(QEMU_OPT)" \
--make "$(MAKE)" \
$(RUN_OPT) \
--include $(RUN_SCRIPT)