diff options
author | midipix <writeonce@midipix.org> | 2021-06-12 08:20:12 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-12 10:45:05 +0000 |
commit | 9c713dfec4220a842ee5a748536078e9f27cac64 (patch) | |
tree | 7e90e278c2e661f28a024c3b58772f9a1a0ee1d8 /sofort/cfgtest/cfgtest.sh | |
parent | c8c3f9df12386526f536ab42be3c47e6927b8252 (diff) | |
download | mmglue-9c713dfec4220a842ee5a748536078e9f27cac64.tar.bz2 mmglue-9c713dfec4220a842ee5a748536078e9f27cac64.tar.xz |
build system: cfgtest: added cfgtest_{makevar|cflags|ldflags}_set().
Diffstat (limited to 'sofort/cfgtest/cfgtest.sh')
-rw-r--r-- | sofort/cfgtest/cfgtest.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sofort/cfgtest/cfgtest.sh b/sofort/cfgtest/cfgtest.sh index 4a50e8f..80ef06d 100644 --- a/sofort/cfgtest/cfgtest.sh +++ b/sofort/cfgtest/cfgtest.sh @@ -164,6 +164,21 @@ cfgtest_entity_size_prolog() } +cfgtest_makevar_set() +{ + if [ -n "${@}" ]; then + mb_internal_str='= ' + else + mb_internal_str='=' + fi + + printf '%-25s%s%s\n' "$mb_cfgtest_makevar" "$mb_internal_str" "${@}" \ + >> $mb_pwd/cfgdefs.mk + + unset cfgtest_internal_unit_test +} + + cfgtest_makevar_append() { mb_internal_str='+=' |