Files
PluralTechnology/service/dev/build.env
T
2026-07-10 05:09:53 +00:00

25 lines
491 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
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