summaryrefslogtreecommitdiff
path: root/sofort
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-12 08:20:12 +0000
committermidipix <writeonce@midipix.org>2021-06-12 10:45:07 +0000
commitf8ab76275be5e7343932983e2d7a66985bf0dde9 (patch)
tree35efc865f3064910ad63f476b91141644fc510e5 /sofort
parentceb89e4c3dd46595f500f2d936155dcde8fd4b17 (diff)
downloadperk-f8ab76275be5e7343932983e2d7a66985bf0dde9.tar.bz2
perk-f8ab76275be5e7343932983e2d7a66985bf0dde9.tar.xz
build system: cfgtest: added cfgtest_{makevar|cflags|ldflags}_set().
Diffstat (limited to 'sofort')
-rw-r--r--sofort/cfgtest/cfgtest.sh15
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='+='