mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
tree.sh: rename xtree to xgcctree, for clarity
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
tree="x86_64"
|
tree="x86_64"
|
||||||
# test building with x86_64 hostcc by commenting these:
|
# 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"
|
# xarch="x86_64-elf"
|
||||||
# or uncomment them to use crossgcc(buggy)
|
# or uncomment them to use crossgcc(buggy)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
tree="default"
|
tree="default"
|
||||||
xtree="default"
|
xgcctree="default"
|
||||||
xarch="aarch64-elf arm-eabi"
|
xarch="aarch64-elf arm-eabi"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
tree="default"
|
tree="default"
|
||||||
xtree="default"
|
xgcctree="default"
|
||||||
xarch="aarch64-elf arm-eabi"
|
xarch="aarch64-elf arm-eabi"
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
tree="x86"
|
tree="x86"
|
||||||
# test building with x86_64 hostcc by commenting these:
|
# test building with x86_64 hostcc by commenting these:
|
||||||
# xtree="default" # coreboot tree containing crossgcc
|
# xgcctree="default" # coreboot tree containing crossgcc
|
||||||
# xarch="i386-elf"
|
# xarch="i386-elf"
|
||||||
# or uncomment them to use crossgcc(buggy)
|
# or uncomment them to use crossgcc(buggy)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
tree="default"
|
tree="default"
|
||||||
xtree="default"
|
xgcctree="default"
|
||||||
xarch="aarch64-elf arm-eabi"
|
xarch="aarch64-elf arm-eabi"
|
||||||
|
|||||||
+3
-3
@@ -27,7 +27,7 @@ fetch_targets()
|
|||||||
|
|
||||||
fetch_project()
|
fetch_project()
|
||||||
{
|
{
|
||||||
xtree=""
|
xgcctree=""
|
||||||
|
|
||||||
. "config/git/$project/pkg.cfg" || \
|
. "config/git/$project/pkg.cfg" || \
|
||||||
err "Can't read config 'config/git/$project/pkg.cfg'" \
|
err "Can't read config 'config/git/$project/pkg.cfg'" \
|
||||||
@@ -38,8 +38,8 @@ fetch_project()
|
|||||||
"fetch_project" "$@"
|
"fetch_project" "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$xtree" ]; then
|
if [ -n "$xgcctree" ]; then
|
||||||
x_ ./mk -f coreboot "$xtree"
|
x_ ./mk -f coreboot "$xgcctree"
|
||||||
fi
|
fi
|
||||||
if [ -n "$depend" ]; then
|
if [ -n "$depend" ]; then
|
||||||
for d in $depend ; do
|
for d in $depend ; do
|
||||||
|
|||||||
+4
-4
@@ -20,7 +20,7 @@ project=""
|
|||||||
target=""
|
target=""
|
||||||
target_dir=""
|
target_dir=""
|
||||||
targets=""
|
targets=""
|
||||||
xtree=""
|
xgcctree=""
|
||||||
release=""
|
release=""
|
||||||
bootstrapargs=""
|
bootstrapargs=""
|
||||||
mkhelper=""
|
mkhelper=""
|
||||||
@@ -257,7 +257,7 @@ configure_project()
|
|||||||
cleanargs=""
|
cleanargs=""
|
||||||
build_depend=""
|
build_depend=""
|
||||||
autoconfargs=""
|
autoconfargs=""
|
||||||
xtree=""
|
xgcctree=""
|
||||||
postmake=""
|
postmake=""
|
||||||
makeargs=""
|
makeargs=""
|
||||||
buildtype=""
|
buildtype=""
|
||||||
@@ -469,8 +469,8 @@ check_cross_compiler()
|
|||||||
if [ "$project" != "coreboot" ]; then
|
if [ "$project" != "coreboot" ]; then
|
||||||
cbdir="src/coreboot/default"
|
cbdir="src/coreboot/default"
|
||||||
fi
|
fi
|
||||||
if [ -n "$xtree" ]; then
|
if [ -n "$xgcctree" ]; then
|
||||||
cbdir="src/coreboot/$xtree"
|
cbdir="src/coreboot/$xgcctree"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
xfix="${1%-*}"
|
xfix="${1%-*}"
|
||||||
|
|||||||
Reference in New Issue
Block a user