From 8a9c70f2f6d8035279b8fe183ea6ad92b79392b1 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 21 Jan 2024 05:58:37 +0000 Subject: 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 --- script/update/trees | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'script') diff --git a/script/update/trees b/script/update/trees index 68e4a9f3..fa812f54 100755 --- a/script/update/trees +++ b/script/update/trees @@ -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/} -- cgit v1.2.1