diff options
author | midipix <writeonce@midipix.org> | 2021-06-12 08:20:12 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-12 10:45:09 +0000 |
commit | 8920eef0ec4d5d35842aab561ea7246c130d14c6 (patch) | |
tree | c3ed349a8e589c9ed0a2cf2ce19240fd7fd06047 /sofort/cfgtest | |
parent | 6db2429cc1dce1b6f59663fa090f096ffa04ead5 (diff) | |
download | sbpython3-8920eef0ec4d5d35842aab561ea7246c130d14c6.tar.bz2 sbpython3-8920eef0ec4d5d35842aab561ea7246c130d14c6.tar.xz |
build system: cfgtest: added cfgtest_{makevar|cflags|ldflags}_set().
Diffstat (limited to 'sofort/cfgtest')
-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='+=' |