From 86ec1eee8a389123ede80459ae277a958557365e Mon Sep 17 00:00:00 2001 From: vpeter4 Date: Sat, 22 Dec 2018 15:22:04 +0100 Subject: [PATCH] buildsystem: add flag to enable verbose build (if package supports it) --- config/functions | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/functions b/config/functions index 44371a335a..adb3dcfac9 100644 --- a/config/functions +++ b/config/functions @@ -234,6 +234,12 @@ setup_toolchain() { export MAKEFLAGS="-j$CONCURRENCY_MAKE_LEVEL" fi + # verbose flag + if flag_enabled "verbose" "no"; then + NINJA_OPTS="$NINJA_OPTS -v" + export MAKEFLAGS="$MAKEFLAGS V=1 VERBOSE=1" + fi + case "$1" in target|init) export DESTIMAGE="target"