tree.sh: rename xtree to xgcctree, for clarity

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-10-04 08:37:41 +01:00
parent 51e424c7d1
commit 1943dba608
7 changed files with 12 additions and 12 deletions

View File

@@ -2,6 +2,6 @@
tree="x86_64"
# test building with x86_64 hostcc by commenting these:
# xtree="default" # coreboot tree containing crossgcc
# xgcctree="default" # coreboot tree containing crossgcc
# xarch="x86_64-elf"
# or uncomment them to use crossgcc(buggy)

View File

@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
tree="default"
xtree="default"
xgcctree="default"
xarch="aarch64-elf arm-eabi"

View File

@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
tree="default"
xtree="default"
xgcctree="default"
xarch="aarch64-elf arm-eabi"

View File

@@ -2,6 +2,6 @@
tree="x86"
# test building with x86_64 hostcc by commenting these:
# xtree="default" # coreboot tree containing crossgcc
# xgcctree="default" # coreboot tree containing crossgcc
# xarch="i386-elf"
# or uncomment them to use crossgcc(buggy)

View File

@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
tree="default"
xtree="default"
xgcctree="default"
xarch="aarch64-elf arm-eabi"

View File

@@ -27,7 +27,7 @@ fetch_targets()
fetch_project()
{
xtree=""
xgcctree=""
. "config/git/$project/pkg.cfg" || \
err "Can't read config 'config/git/$project/pkg.cfg'" \
@@ -38,8 +38,8 @@ fetch_project()
"fetch_project" "$@"
fi
if [ -n "$xtree" ]; then
x_ ./mk -f coreboot "$xtree"
if [ -n "$xgcctree" ]; then
x_ ./mk -f coreboot "$xgcctree"
fi
if [ -n "$depend" ]; then
for d in $depend ; do

View File

@@ -20,7 +20,7 @@ project=""
target=""
target_dir=""
targets=""
xtree=""
xgcctree=""
release=""
bootstrapargs=""
mkhelper=""
@@ -257,7 +257,7 @@ configure_project()
cleanargs=""
build_depend=""
autoconfargs=""
xtree=""
xgcctree=""
postmake=""
makeargs=""
buildtype=""
@@ -469,8 +469,8 @@ check_cross_compiler()
if [ "$project" != "coreboot" ]; then
cbdir="src/coreboot/default"
fi
if [ -n "$xtree" ]; then
cbdir="src/coreboot/$xtree"
if [ -n "$xgcctree" ]; then
cbdir="src/coreboot/$xgcctree"
fi
xfix="${1%-*}"