build: Implement build pipeline
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (c) 2026, Chloe M.
|
||||
# Provided under the BSD-3 clause
|
||||
#
|
||||
# Description: Build variables
|
||||
# Author: Chloe M.
|
||||
#
|
||||
|
||||
ST_PROJECT_ROOT=$(pwd)
|
||||
ST_TARGET_ARCH=amd64
|
||||
ST_BOOT_PROTOCOL=limine
|
||||
Reference in New Issue
Block a user