From: kosmirror <kos...@us...> - 2025-05-23 22:48:56
|
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 7bbff2ddd5b553ed9656ad856992fd3e4aa33dc7 (commit) from 35d77329f77d75bf74343614fede778fea026ec9 (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 7bbff2ddd5b553ed9656ad856992fd3e4aa33dc7 Author: darc <da...@pr...> Date: Fri May 23 14:57:59 2025 -0500 environ_base.sh: Source environ_dreamcast.sh later The $KOS_SH4_PRECISION check is dependent on $KOS_CC being established, so move the sourcing of environ_dreamcast.sh after compiler paths are set. ----------------------------------------------------------------------- Summary of changes: environ_base.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/environ_base.sh b/environ_base.sh index 092d366f..cd2fcf62 100644 --- a/environ_base.sh +++ b/environ_base.sh @@ -14,9 +14,6 @@ fi # Arch kernel folder. export KOS_ARCH_DIR="${KOS_BASE}/kernel/arch/${KOS_ARCH}" -# Pull in the arch environ file. -. ${KOS_BASE}/environ_${KOS_ARCH}.sh - # Add the compiler bins dir to the path if it is not already. if ! expr ":$PATH:" : ".*:${KOS_CC_BASE}/bin:.*" > /dev/null ; then export PATH="${PATH}:${KOS_CC_BASE}/bin" @@ -48,6 +45,10 @@ export KOS_LD="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-ld" export KOS_RANLIB="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-gcc-ranlib" export KOS_STRIP="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-strip" export KOS_SIZE="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-size" + +# Pull in the arch environ file. +. ${KOS_BASE}/environ_${KOS_ARCH}.sh + export KOS_CFLAGS="${KOS_CFLAGS} ${KOS_INC_PATHS} -D_arch_${KOS_ARCH} -D_arch_sub_${KOS_SUBARCH} -Wall -g" export KOS_CPPFLAGS="${KOS_CPPFLAGS} ${KOS_INC_PATHS_CPP}" hooks/post-receive -- A pseudo Operating System for the Dreamcast. |