mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
allow multitree projects to define xgcc tree
let them specific it, rather than falling back to coreboot/default (can also be used for coreboot boards) Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
tree="default"
|
||||
xtree="default"
|
||||
xarch="aarch64-elf arm-eabi"
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
tree="default"
|
||||
xtree="default"
|
||||
xarch="aarch64-elf arm-eabi"
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
tree="default"
|
||||
xtree="default"
|
||||
xarch="aarch64-elf arm-eabi"
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
tree="default"
|
||||
xtree="default"
|
||||
xarch="i386-elf"
|
||||
|
||||
+2
-1
@@ -12,7 +12,7 @@ set -u -e
|
||||
|
||||
eval "$(setvars "" xarch cfgsdir codedir config config_name xlang mode \
|
||||
elfdir listfile project target target_dir targets tree _f target1 \
|
||||
bootstrapargs autoconfargs cmakedir makeargs autogenargs)"
|
||||
bootstrapargs autoconfargs cmakedir makeargs autogenargs xtree)"
|
||||
|
||||
main()
|
||||
{
|
||||
@@ -159,6 +159,7 @@ check_cross_compiler()
|
||||
for _xarch in $xarch; do
|
||||
cbdir="src/coreboot/${tree}"
|
||||
[ "$project" != "coreboot" ] && cbdir="src/coreboot/default"
|
||||
[ -n "$xtree" ] && cbdir="src/coreboot/$xtree"
|
||||
|
||||
x_ ./update trees -f coreboot ${cbdir#src/coreboot/}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user