move XBMKPATH to include/lib.sh

Signed-off-by: Leah Rowe <leah@libreboot.org>
25.04_branch
Leah Rowe 2025-04-11 19:22:23 +01:00
parent dcc7f10ec7
commit 18689092d3
2 changed files with 3 additions and 3 deletions

View File

@ -6,6 +6,8 @@
export LC_COLLATE=C
export LC_ALL=C
xbmkpath="$PATH"
_ua="Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0"
ifdtool="elf/ifdtool/default/ifdtool"

View File

@ -9,8 +9,6 @@ set -u -e
. "include/lib.sh"
. "include/git.sh"
XBMKPATH="$PATH"
eval "`setvars "" xarch srcdir premake gnatdir xlang mode makeargs elfdir cmd \
project target target_dir targets xtree _f release bootstrapargs mkhelper \
autoconfargs listfile autogenargs btype tree rev tree_depend build_depend \
@ -111,7 +109,7 @@ build_targets()
for x in $targets; do
unset CROSS_COMPILE
export PATH="$XBMKPATH"
export PATH="$xbmkpath"
[ "$x" = "list" ] && x_ ls -1 "config/$project" && \
listfile="" && break
target="$x"