tree.sh: rename btype to buildtype, for clarity

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-10-04 08:36:18 +01:00
parent d95af9ba44
commit 51e424c7d1
3 changed files with 6 additions and 6 deletions

View File

@@ -3,5 +3,5 @@
bootstrapargs="--gnulib-srcdir=gnulib/ --no-git"
autoconfargs="--with-platform=coreboot --disable-werror"
makeargs="FS_PAYLOAD_MODULES=\"\""
btype="autohell"
buildtype="autohell"
mkhelper="mkpayload_grub"

View File

@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-3.0-or-later
cmakedir="UEFIExtract"
btype="cmake"
buildtype="cmake"

View File

@@ -27,7 +27,7 @@ mkhelper=""
autoconfargs=""
listfile=""
autogenargs=""
btype=""
buildtype=""
rev=""
build_depend=""
gccdir=""
@@ -260,7 +260,7 @@ configure_project()
xtree=""
postmake=""
makeargs=""
btype=""
buildtype=""
mkhelper=""
bootstrapargs=""
premake=""
@@ -273,7 +273,7 @@ configure_project()
_tcfg="$1/target.cfg"
if [ ! -f "$_tcfg" ]; then
btype="auto"
buildtype="auto"
fi
# globally initialise all variables for a source tree / target:
@@ -333,7 +333,7 @@ configure_project()
if [ "$XBMK_RELEASE" = "y" ] && [ "$release" = "n" ]; then
return 1
fi
if [ -n "$btype" ] && [ "${mode%config}" != "$mode" ]; then
if [ -n "$buildtype" ] && [ "${mode%config}" != "$mode" ]; then
return 1
fi