mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 23:08:49 +02:00
build/build/roms: simplify mkCoreboot() arguments
This commit is contained in:
@@ -404,7 +404,7 @@ mkRoms()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# make coreboot ROM without a payload in it
|
# make coreboot ROM without a payload in it
|
||||||
mkCoreboot "${cbdir}" "${_cbcfg}"
|
mkCoreboot "${_cbcfg}"
|
||||||
|
|
||||||
# now add payloads, per user config:
|
# now add payloads, per user config:
|
||||||
|
|
||||||
@@ -465,8 +465,7 @@ mkRoms()
|
|||||||
# expected: configs must not specify a payload
|
# expected: configs must not specify a payload
|
||||||
mkCoreboot()
|
mkCoreboot()
|
||||||
{
|
{
|
||||||
cbdir="${1}" # eg. coreboot/default
|
_cbcfg="${1}" # eg. resources/coreboot/e6400nvidia_4mb/config/normal
|
||||||
_cbcfg="${2}" # eg. resources/coreboot/e6400nvidia_4mb/config/normal
|
|
||||||
|
|
||||||
if [ ! -f "${_cbcfg}" ]; then
|
if [ ! -f "${_cbcfg}" ]; then
|
||||||
printf "\nmkCoreboot: coreboot config '%s' does not exist. " \
|
printf "\nmkCoreboot: coreboot config '%s' does not exist. " \
|
||||||
|
|||||||
Reference in New Issue
Block a user