summaryrefslogtreecommitdiff
path: root/script/update/trees
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-01-26 09:28:14 +0000
committerLeah Rowe <leah@libreboot.org>2024-01-26 09:28:14 +0000
commit39688ebee6b5d734aaef41a3e61edc80007db001 (patch)
tree387fe85c551932cc3446c664a47aaedca74b8d8c /script/update/trees
parente5ebaa856465448ca35b7b2e43b23820b6707eb0 (diff)
update/trees: reset xtree/tree_depend before build
in some cases, the build system was needlessly, and sometimes erroneously, creating crossgcc symlinks, which then caused an issue, namely: in lbmk release builds, dell e6400 is build before fam15h boards, and it sets xtree, but fam15h_rdimm doesn't, and later this would cause fam15h_rdimm boards to use xtree="default" (because they don't set xtree), causing the newer toolchain to be used on coreboot 4.11. this patch fixes the issue. quite a simple problem, actually. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/trees')
-rwxr-xr-xscript/update/trees3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/update/trees b/script/update/trees
index 100f5f15..51ea821c 100755
--- a/script/update/trees
+++ b/script/update/trees
@@ -150,7 +150,8 @@ handle_src_tree()
load_project_config()
{
- eval "$(setvars "" xarch xlang tree bootstrapargs autoconfargs)"
+ eval "$(setvars "" xarch xlang tree bootstrapargs autoconfargs \
+ xtree tree_depend)"
[ -f "${1}/target.cfg" ] || return 0
. "${1}/target.cfg" || \