build: Implement build pipeline

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-21 23:29:51 +00:00
parent 994847a73e
commit 71de0c20b8
13 changed files with 361 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/bin/sh
#
# Copyright (c) 2026, Chloe M.
# Provided under the BSD-3 clause
#
# Description: Build envs
# Author: Chloe M.
#
# Source build variables
. paw/devel/vars.env
# Export envs
export ST_PROJECT_ROOT=$ST_PROJECT_ROOT
export ST_TARGET_ARCH=$ST_TARGET_ARCH
export ST_BOOT_PROTOCOL=$ST_BOOT_PROTOCOL
if [ "$ST_BUILD_SOURCED" != "1" ]
then
echo "[*] build env ok"
export PS1="~ $PS1"
fi
# Indicate that we have been sourced
export ST_BUILD_SOURCED=1