projects-dir.mk: Support non-interactive install-prereq-build

Support non-interactive install-prereq-build

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-04-12 13:45:19 +00:00
commit 64e7338bed
2 changed files with 23 additions and 4 deletions

View file

@ -80,7 +80,7 @@ echo-prereq-build:
@python $(MOD_SCRIPT_DIR)/projects.py $(PROJECTS_PY_EXTRA_ARGS) required-pkg $(BUILD_PROJECTS)
install-prereq-build:
make --no-print-directory echo-prereq-build 2>/dev/null | xargs -r $(PKG_MANAGER_SH) install
make --no-print-directory echo-prereq-build 2>/dev/null | xargs -r $(PKG_MANAGER_SH) install -y
echo-prereq-release:
@make --no-print-directory pull.done >/dev/null 2>&1