unify coreboot elfdir (DO_NOT_FLASH)
use a common string when setting this path Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
be04f59602
commit
a8f44ab80a
|
@ -10,6 +10,7 @@ _ua="Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0"
|
|||
|
||||
tmpdir_was_set="y"
|
||||
cbdir="src/coreboot/default"
|
||||
cbelfdir="elf/coreboot_nopayload_DO_NOT_FLASH"
|
||||
ifdtool="elf/ifdtool/default/ifdtool"
|
||||
cbfstool="elf/cbfstool/default/cbfstool"
|
||||
tmpgit="$PWD/tmp/gitclone"
|
||||
|
|
|
@ -193,8 +193,7 @@ build_roms()
|
|||
{
|
||||
x_ ./update trees -b coreboot $board
|
||||
|
||||
_cbrom="elf/coreboot_nopayload_DO_NOT_FLASH"
|
||||
_cbrom="$_cbrom/$board/${initmode}_$displaymode"
|
||||
_cbrom="$cbelfdir/$board/${initmode}_$displaymode"
|
||||
[ "$initmode" = "normal" ] && _cbrom="${_cbrom%"_$displaymode"}"
|
||||
_cbrom="$_cbrom/coreboot.rom"
|
||||
cbrom="$(mktemp -t coreboot_rom.XXXXXXXXXX)"
|
||||
|
|
|
@ -78,8 +78,7 @@ build_projects()
|
|||
|
||||
build_targets()
|
||||
{
|
||||
[ "$elfdir" = "elf/coreboot" ] && \
|
||||
elfdir="elf/coreboot_nopayload_DO_NOT_FLASH"
|
||||
[ "$elfdir" = "elf/coreboot" ] && elfdir="$cbelfdir"
|
||||
|
||||
[ -d "$cfgsdir" ] || $err "directory, $cfgsdir, does not exist"
|
||||
[ -f "$listfile" ] || $err "list file, $listfile, does not exist"
|
||||
|
|
Loading…
Reference in New Issue