update/trees: simplified crossgcc handling

only call crossgcc for coreboot and u-boot, but use
hostcc for everything else. simplify the checking of
which architecture to compile for. "arch" in target.cfg
files has been modified, to allow further simplification.

without this patch, the logic currently only *barely* avoids
using crossgcc on things like utils, and only works in practise
because, in practise, lbmk only works on x86_64 anyway.

the new logic, as per this patch, is simpler and more robust.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-12-21 10:48:07 +00:00
parent 4711098e94
commit 90ac30b163
91 changed files with 102 additions and 119 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
tree="default"
romtype="i945 laptop"
arch="x86_32"
arch="i386-elf"
payload_grub="y"
payload_grub_withseabios="y"
payload_seabios="y"