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>9020vga
parent
c6d243af93
commit
8a9c70f2f6
|
@ -1,2 +1,3 @@
|
||||||
tree="default"
|
tree="default"
|
||||||
|
xtree="default"
|
||||||
xarch="aarch64-elf arm-eabi"
|
xarch="aarch64-elf arm-eabi"
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
tree="default"
|
tree="default"
|
||||||
|
xtree="default"
|
||||||
xarch="aarch64-elf arm-eabi"
|
xarch="aarch64-elf arm-eabi"
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
tree="default"
|
tree="default"
|
||||||
|
xtree="default"
|
||||||
xarch="aarch64-elf arm-eabi"
|
xarch="aarch64-elf arm-eabi"
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
tree="default"
|
tree="default"
|
||||||
|
xtree="default"
|
||||||
xarch="i386-elf"
|
xarch="i386-elf"
|
||||||
|
|
|
@ -12,7 +12,7 @@ set -u -e
|
||||||
|
|
||||||
eval "$(setvars "" xarch cfgsdir codedir config config_name xlang mode \
|
eval "$(setvars "" xarch cfgsdir codedir config config_name xlang mode \
|
||||||
elfdir listfile project target target_dir targets tree _f target1 \
|
elfdir listfile project target target_dir targets tree _f target1 \
|
||||||
bootstrapargs autoconfargs cmakedir makeargs autogenargs)"
|
bootstrapargs autoconfargs cmakedir makeargs autogenargs xtree)"
|
||||||
|
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
|
@ -159,6 +159,7 @@ check_cross_compiler()
|
||||||
for _xarch in $xarch; do
|
for _xarch in $xarch; do
|
||||||
cbdir="src/coreboot/${tree}"
|
cbdir="src/coreboot/${tree}"
|
||||||
[ "$project" != "coreboot" ] && cbdir="src/coreboot/default"
|
[ "$project" != "coreboot" ] && cbdir="src/coreboot/default"
|
||||||
|
[ -n "$xtree" ] && cbdir="src/coreboot/$xtree"
|
||||||
|
|
||||||
x_ ./update trees -f coreboot ${cbdir#src/coreboot/}
|
x_ ./update trees -f coreboot ${cbdir#src/coreboot/}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue