#!/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
