This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
via 1675181e4460d44b9d03d5f7123d4074826029e7 (commit)
from bf083e62190e1aaf20a66095ee265b0b721cc34c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1675181e4460d44b9d03d5f7123d4074826029e7
Author: QuzarDC <qu...@co...>
Date: Sat Sep 20 13:06:43 2025 -0400
environ: Move default setting of SUBARCH to `environ_dreamcast.sh`
All the other default setting tests happen at this level. Now the
value can more clearly be simply set in environ or by IDE.
-----------------------------------------------------------------------
Summary of changes:
doc/environ.sh.sample | 8 +++-----
environ_dreamcast.sh | 5 +++++
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/doc/environ.sh.sample b/doc/environ.sh.sample
index abfb4733..efccb33d 100644
--- a/doc/environ.sh.sample
+++ b/doc/environ.sh.sample
@@ -23,15 +23,13 @@ export KOS_ARCH="dreamcast"
# is targeting or uses an existing value that
# can be set externally via your IDE.
#
+# Only needs to be set if not using default.
+#
# Valid values:
# "pristine" - Dreamcast console or HKT-0120 devkit (default)
# "naomi" - NAOMI or NAOMI 2 arcade board
#
-if [ -z "${KOS_SUBARCH}" ] ; then
- export KOS_SUBARCH="pristine"
-else
- export KOS_SUBARCH
-fi
+#export KOS_SUBARCH="naomi"
# KOS Root Path
#
diff --git a/environ_dreamcast.sh b/environ_dreamcast.sh
index e947323b..43454ac7 100644
--- a/environ_dreamcast.sh
+++ b/environ_dreamcast.sh
@@ -1,6 +1,11 @@
# KallistiOS environment variable settings. These are the shared pieces
# for the Dreamcast(tm) platform.
+# Add the default subarch (DC) if one hasn't already been set.
+if [ -z "${KOS_SUBARCH}" ] ; then
+ export KOS_SUBARCH="pristine"
+fi
+
# Add the default external DC tools path if it isn't already set.
if [ -z "${DC_TOOLS_BASE}" ] ; then
export DC_TOOLS_BASE="${KOS_CC_BASE}/../bin"
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|