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" bootstrapargs="--gnulib-srcdir=gnulib/ --no-git"
autoconfargs="--with-platform=coreboot --disable-werror" autoconfargs="--with-platform=coreboot --disable-werror"
makeargs="FS_PAYLOAD_MODULES=\"\"" makeargs="FS_PAYLOAD_MODULES=\"\""
btype="autohell" buildtype="autohell"
mkhelper="mkpayload_grub" mkhelper="mkpayload_grub"

View File

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

View File

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