build: Add build pipeline groundwork
Signed-off-by: Chloe M. <chloe@yiffware.org>
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (c) 2026, Chloe M., et al.
|
||||
# Provided under the BSD-3 clause.
|
||||
#
|
||||
# Description: Build variables
|
||||
# Author: Chloe M.
|
||||
#
|
||||
|
||||
PT_PROJECT_ROOT=$(pwd)
|
||||
PT_TARGET_ARCH=amd64
|
||||
Reference in New Issue
Block a user