mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
tree.sh: check xgcc AFTER checking elfdir
if e.g. elf/coreboot/default/w500_16mb contains readied images from before, crossgcc is still being checked. if you already built all the coreboot images, and wanted to just modify all the payloads for example, this would result in a much slower re-build process, because it is needlessly re-checking crossgcc every time. by doing it this way, we need up the testing of payloads quite considerably, during xbmk development. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+5
-4
@@ -111,15 +111,16 @@ handle_defconfig()
|
||||
|
||||
[ "$mode" = "${mode%clean}" ] && [ ! -d "$srcdir" ] && return 0
|
||||
|
||||
[ -z "$mode" ] && for _xarch in $xarch; do
|
||||
$dry check_cross_compiler "$_xarch"
|
||||
done; :
|
||||
|
||||
for y in "$target_dir/config"/*; do
|
||||
[ "$_f" = "-d" ] || [ -f "$y" ] || continue
|
||||
[ "$_f" = "-d" ] || defconfig="$y"
|
||||
|
||||
[ -n "$mode" ] || check_defconfig || continue
|
||||
|
||||
[ -z "$mode" ] && for _xarch in $xarch; do
|
||||
$dry check_cross_compiler "$_xarch"
|
||||
done; :
|
||||
|
||||
handle_makefile
|
||||
[ -n "$mode" ] || $dry copy_elf
|
||||
done; :
|
||||
|
||||
Reference in New Issue
Block a user