summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-01-07 06:39:50 +0000
committermidipix <writeonce@midipix.org>2020-01-07 06:39:50 +0000
commit727c76acdc2b8cbe15f1622c8e6591810efaf93e (patch)
treedb28550608152640647bf19ef5bb44dcc43a6cf3
parent21dc705fcc16dc55d3832925b4d38cec0b38c243 (diff)
downloadsbpython3-727c76acdc2b8cbe15f1622c8e6591810efaf93e.tar.bz2
sbpython3-727c76acdc2b8cbe15f1622c8e6591810efaf93e.tar.xz
project: match sofort's distinction between 'host' and 'target'.
-rw-r--r--project/config/cfgdefs.sh2
-rw-r--r--project/config/cfghost.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index 3bf9be7..544bf5b 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -267,7 +267,7 @@ cfgdefs_perform_common_tests()
cfgtest_comment 'ncurses/ncursesw'
mb_cfgtest_headers='ncurses.h'
- if [ $mb_cfgtest_cfgtype = 'target' ]; then
+ if [ $mb_cfgtest_cfgtype = 'host' ]; then
mb_cfgtest_makevar='CFLAGS_NCURSES'
else
mb_cfgtest_makevar='NATIVE_CFLAGS'
diff --git a/project/config/cfghost.sh b/project/config/cfghost.sh
index 563ccac..f207f60 100644
--- a/project/config/cfghost.sh
+++ b/project/config/cfghost.sh
@@ -31,7 +31,7 @@ cfghost_internal_test()
esac
fi
- if [ $mb_internal_cfgtype = 'target' ]; then
+ if [ $mb_internal_cfgtype = 'host' ]; then
mb_cfghost="$mb_internal_cfghost"
else
mb_native_cfghost="$mb_internal_cfghost"
@@ -42,7 +42,7 @@ cfghost_set_target_cfghost()
{
mb_internal_cchost="$mb_cchost"
mb_internal_cfghost="$mb_cfghost"
- mb_internal_cfgtype='target'
+ mb_internal_cfgtype='host'
cfghost_internal_test
}