mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
roms: simplify mkUbootRom()
remove variables that are not meaningfully used Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+3
-8
@@ -302,14 +302,9 @@ build_uboot_roms()
|
||||
|
||||
# make a rom in /tmp/ and then print the path of that ROM
|
||||
mkUbootRom() {
|
||||
_cbrom="$1"
|
||||
_uboot_cbfs_path="$2"
|
||||
|
||||
tmprom="$(mktemp -t coreboot_rom.XXXXXXXXXX)"
|
||||
|
||||
x_ cp "$_cbrom" "$tmprom"
|
||||
cbfs "$tmprom" "$ubootelf" "$_uboot_cbfs_path"
|
||||
|
||||
tmprom="$(mktemp -t coreboot_rom.XXXXXXXXXX)" # 1=cbrom, 2=cbfs path
|
||||
x_ cp "$1" "$tmprom"
|
||||
cbfs "$tmprom" "$ubootelf" "$2"
|
||||
printf "%s\n" "$tmprom"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user