build: Add build pipeline groundwork

Signed-off-by: Chloe M. <chloe@yiffware.org>
This commit is contained in:
2026-07-10 01:10:15 +00:00
parent 59553afdec
commit 662252ae18
13 changed files with 368 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
#
# 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
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