Files
PluralTechnology/service/dev/build.env
T
2026-07-15 07:53:34 +00:00

27 lines
551 B
Bash

#
# Copyright (c) 2026, Chloe M., et al.
# Provided under the BSD-3 clause.
#
# Description: Build variables
# Author: Chloe M.
#
# Source the build variables
. service/dev/bvars.env
# Export envs
export PT_PROJECT_ROOT=$PT_PROJECT_ROOT
export PT_TARGET_ARCH=$PT_TARGET_ARCH
export PT_BOOT_PROTO=$PT_BOOT_PROTO
export PT_URT_LIB=$PT_URT_LIB
export PT_URT_CRT=$PT_URT_CRT
if [ "$PT_BUILD_SOURCED" != "1" ]
then
echo "[*] build environment prepared"
PS1="(PTOS) $PS1"
fi
# Indicate that we have been sourced
export PT_BUILD_SOURCED=1