From 4e5750f7ba7c84d09f0e8a60d92a7fc3e7ca410f Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Mar 12 2020 08:57:55 +0000 Subject: midipix.env: remove redundant ${DEFAULT_LOG_MSG_*_COLOUR} variables. subr/rtl_log.subr:${DEFAULT_LOG_MSG_WARN_COLOUR}: added. --- diff --git a/midipix.env b/midipix.env index 38408e8..b6df0bc 100644 --- a/midipix.env +++ b/midipix.env @@ -81,16 +81,6 @@ DEFAULT_BUILD_VARS=" : ${DEFAULT_CFLAGS_RUNTIME:=$(rtl_get_var_unsafe "DEFAULT_CFLAGS_$(rtl_toupper "${BUILD}")_RUNTIME")}; : ${DEFAULT_GITROOT:=git://midipix.org}; : ${DEFAULT_GITROOT_HEAD:=git://midipix.org}; -: ${DEFAULT_LOG_MSG_FAIL_COLOUR:=91}; -: ${DEFAULT_LOG_MSG_INFO_COLOUR:=93}; -: ${DEFAULT_LOG_MSG_INF2_COLOUR:=33}; -: ${DEFAULT_LOG_MSG_SUCC_COLOUR:=92}; -: ${DEFAULT_LOG_MSG_SUC2_COLOUR:=32}; -: ${DEFAULT_LOG_MSG_VNFO_COLOUR:=96}; -: ${DEFAULT_LOG_MSG_VUCC_COLOUR:=90}; -: ${DEFAULT_LOG_MSG_VVFO_COLOUR:=96}; -: ${DEFAULT_LOG_MSG_VVVO_COLOUR:=96}; -: ${DEFAULT_LOG_MSG_VVVV_COLOUR:=96}; : ${DEFAULT_MAKE_INSTALL_VNAME:=DESTDIR}; : ${DEFAULT_MAKEFLAGS_BUILD:=-j${DEFAULT_BUILD_CPUS}}; : ${DEFAULT_GIT_ARGS:=""}; diff --git a/subr/rtl_log.subr b/subr/rtl_log.subr index e27e81d..51db687 100644 --- a/subr/rtl_log.subr +++ b/subr/rtl_log.subr @@ -12,6 +12,7 @@ : ${DEFAULT_LOG_MSG_VVFO_COLOUR:=96}; : ${DEFAULT_LOG_MSG_VVVO_COLOUR:=96}; : ${DEFAULT_LOG_MSG_VVVV_COLOUR:=96}; +: ${DEFAULT_LOG_MSG_WARN_COLOUR:=31}; exp_rtl_log_printf() { local _attrs="${1}" _msg=""; shift; _msg="$(printf "${@}")";