mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-21 10:12:04 +02:00
remove more unnecessary checks on trees commands
the trees script already performs these checks Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ getcfg()
|
|||||||
|
|
||||||
bootstrap()
|
bootstrap()
|
||||||
{
|
{
|
||||||
[ -d "$cbdir" ] || x_ ./update trees -f coreboot ${cbdir##*/}
|
x_ ./update trees -f coreboot ${cbdir##*/}
|
||||||
for d in uefitool biosutilities bios_extract; do
|
for d in uefitool biosutilities bios_extract; do
|
||||||
x_ ./update trees -f "$d"
|
x_ ./update trees -f "$d"
|
||||||
done
|
done
|
||||||
|
|||||||
+2
-2
@@ -102,7 +102,7 @@ configure_target()
|
|||||||
x_ ./update trees -b coreboot $board
|
x_ ./update trees -b coreboot $board
|
||||||
|
|
||||||
cbfstool="elf/cbfstool/$tree/cbfstool"
|
cbfstool="elf/cbfstool/$tree/cbfstool"
|
||||||
[ -f "$cbfstool" ] || x_ ./update trees -b coreboot utils $tree
|
x_ ./update trees -b coreboot utils $tree
|
||||||
|
|
||||||
[ -n "$uboot_config" ] || uboot_config="default"
|
[ -n "$uboot_config" ] || uboot_config="default"
|
||||||
[ "$payload_uboot" = "y" ] || payload_seabios="y"
|
[ "$payload_uboot" = "y" ] || payload_seabios="y"
|
||||||
@@ -143,7 +143,7 @@ add_payloads()
|
|||||||
# add u-boot payload
|
# add u-boot payload
|
||||||
ubdir="elf/u-boot/$board/$uboot_config"; ubootelf="$ubdir/u-boot.elf" \
|
ubdir="elf/u-boot/$board/$uboot_config"; ubootelf="$ubdir/u-boot.elf" \
|
||||||
&& [ ! -f "$ubootelf" ] && ubootelf="$ubdir/u-boot"
|
&& [ ! -f "$ubootelf" ] && ubootelf="$ubdir/u-boot"
|
||||||
[ -f "$ubootelf" ] || x_ ./update trees -b u-boot $board
|
x_ ./update trees -b u-boot $board
|
||||||
[ -f "$ubootelf" ] || $err "$board: Can't find u-boot"
|
[ -f "$ubootelf" ] || $err "$board: Can't find u-boot"
|
||||||
|
|
||||||
cbfs "$tmprom" "$ubootelf" "fallback/payload"
|
cbfs "$tmprom" "$ubootelf" "fallback/payload"
|
||||||
|
|||||||
+1
-1
@@ -69,7 +69,7 @@ build_project()
|
|||||||
[ ! -f "$listfile" ] || elfcheck || return 0
|
[ ! -f "$listfile" ] || elfcheck || return 0
|
||||||
|
|
||||||
cdir="src/${project}"
|
cdir="src/${project}"
|
||||||
[ -d "$cdir" ] || x_ ./update trees -f "$project"
|
x_ ./update trees -f "$project"
|
||||||
|
|
||||||
[ "$mode" = "distclean" ] && mode="clean"
|
[ "$mode" = "distclean" ] && mode="clean"
|
||||||
run_make_command || return 0
|
run_make_command || return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user