mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-27 22:59:01 +02:00
minor code cleanup in the build system
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -166,9 +166,8 @@ build_roms()
|
||||
cbfs "$cbrom" "elf/memtest86plus/memtest.bin" img/memtest
|
||||
[ "$payload_seabios" = "y" ] && build_seabios_roms
|
||||
[ "$payload_grub" != "y" ] || build_grub_roms "$cbrom" "grub"
|
||||
[ "$payload_uboot" = "y" ] || return 0
|
||||
x_ cp "$_cbrom" "$cbrom"
|
||||
build_uboot_roms
|
||||
[ "$payload_uboot" = "y" ] && x_ cp "$_cbrom" "$cbrom" && \
|
||||
build_uboot_roms; return 0
|
||||
}
|
||||
|
||||
build_seabios_roms()
|
||||
|
||||
@@ -229,8 +229,7 @@ handle_makefile()
|
||||
|
||||
run_make_command()
|
||||
{
|
||||
check_cmake "$cdir"
|
||||
[ -z "$mode" ] && check_autoconf "$cdir"
|
||||
check_cmake "$cdir" && [ -z "$mode" ] && check_autoconf "$cdir"
|
||||
check_makefile "$cdir" || return 1
|
||||
|
||||
[ "$project" = "coreboot" ] && [ -z "$mode" ] && x_ \
|
||||
|
||||
Reference in New Issue
Block a user