xbmk: sort global variables alphabetically

also separate some of the special ones.

this makes the variables easier to read/find.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-10-16 15:46:44 +01:00
parent d84a556bf0
commit e1b6ccf69e
7 changed files with 136 additions and 131 deletions
+56 -54
View File
@@ -7,48 +7,50 @@
# flag e.g. ./mk -b <-- mkflag would be "b"
flag=""
xarch=""
srcdir=""
premake=""
gnatdir=""
xlang=""
mode=""
makeargs=""
elfdir=""
# macros, overridden depending on the flag
if_dry_build=":"
if_not_dry_build=""
autoconfargs=""
autogenargs=""
badhash=""
badtghash=""
bootstrapargs=""
build_depend=""
buildtype=""
cleanargs=""
cmakedir=""
cmd=""
defconfig=""
dest_dir=""
do_make=""
elfdir=""
forcepull=""
gccdir=""
gccfull=""
gccver=""
gnatdir=""
gnatfull=""
gnatver=""
listfile=""
makeargs=""
mdir=""
mkhelper=""
mkhelpercfg=""
mode=""
postmake=""
premake=""
project=""
release=""
rev=""
srcdir=""
target=""
target_dir=""
targets=""
xgcctree=""
release=""
bootstrapargs=""
mkhelper=""
autoconfargs=""
listfile=""
autogenargs=""
buildtype=""
rev=""
build_depend=""
gccdir=""
cmakedir=""
defconfig=""
postmake=""
mkhelpercfg=""
if_dry_build=":"
if_not_dry_build=""
dest_dir=""
mdir=""
cleanargs=""
gccver=""
gccfull=""
gnatver=""
gnatfull=""
do_make=""
badhash=""
badtghash=""
tree=""
forcepull=""
xarch=""
xgcctree=""
xlang=""
trees()
{
@@ -259,23 +261,23 @@ handle_defconfig()
configure_project()
{
cleanargs=""
build_depend=""
_tcfg="$1/target.cfg"
autoconfargs=""
xgcctree=""
postmake=""
makeargs=""
buildtype=""
mkhelper=""
bootstrapargs=""
premake=""
release=""
xlang=""
xarch=""
badhash=""
badtghash=""
_tcfg="$1/target.cfg"
bootstrapargs=""
build_depend=""
buildtype=""
cleanargs=""
makeargs=""
mkhelper=""
postmake=""
premake=""
release=""
xarch=""
xgcctree=""
xlang=""
if [ ! -f "$_tcfg" ]; then
buildtype="auto"
@@ -526,12 +528,12 @@ check_gnu_path()
err "Host '$1' unavailable" "check_gnu_path" "$@"
fi
gccver=""
gccfull=""
gnatver=""
gnatfull=""
gccdir=""
gccfull=""
gccver=""
gnatdir=""
gnatfull=""
gnatver=""
if host_gcc_gnat_match "$@"; then
return 0