25 lines
250 B
Bash
Executable File
25 lines
250 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
umask 022
|
|
|
|
if [[ -v DEBUG ]]; then
|
|
set -euxo pipefail
|
|
else
|
|
set -euo pipefail
|
|
fi
|
|
|
|
. config/global.env
|
|
. config/utilities.bash
|
|
|
|
|
|
if [ ! -d "$SYSROOT" ]; then
|
|
create_sysroot
|
|
fi
|
|
|
|
|
|
STAGE=$1
|
|
PKG=$2
|
|
|
|
|
|
. build/$PKG/build.bash $STAGE
|