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>audit2-merge1
parent
72db1389d9
commit
f1549872b8
|
@ -147,7 +147,8 @@ handle_src_tree()
|
||||||
|
|
||||||
load_project_config()
|
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
|
[ -f "${1}/target.cfg" ] || return 0
|
||||||
. "${1}/target.cfg" || \
|
. "${1}/target.cfg" || \
|
||||||
|
|
Loading…
Reference in New Issue