diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index f37d6d62..b1b3ce5d 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -325,6 +325,12 @@ fi . ${ROOT}/etc/kaleidoscope-builder.conf +if [ ! -z "${VERBOSE}" ] && [ "${VERBOSE}" -gt 0 ]; then + ARDUINO_VERBOSE="-verbose" +else + ARDUINO_VERBOSE="-quiet" +fi + cmds="" diff --git a/etc/kaleidoscope-builder.conf b/etc/kaleidoscope-builder.conf index a1b20144..de31a86b 100644 --- a/etc/kaleidoscope-builder.conf +++ b/etc/kaleidoscope-builder.conf @@ -115,9 +115,3 @@ if [ ! -z "${AVR_GCC_PREFIX}" ]; then ARDUINO_AVR_GCC_PREFIX_PARAM="-prefs \"runtime.tools.avr-gcc.path=${AVR_GCC_PREFIX}\"" fi -if [ ! -z "${VERBOSE}" ] && [ "${VERBOSE}" -gt 0 ]; then - ARDUINO_VERBOSE="-verbose" -else - ARDUINO_VERBOSE="-quiet" -fi -