summaryrefslogtreecommitdiff
path: root/resources/scripts/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-13 03:06:55 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-13 03:06:55 +0100
commitc8dfc3ccaadd4fce39dbc437880b7db8630110fd (patch)
treedf3e21b92fdfac01082708c5c2bf33db96b90760 /resources/scripts/build
parentd8a8a1c62269b09f1ffc8cfd1ee8f3ff6b8f1724 (diff)
build/build/roms: simplify mkCoreboot() arguments
Diffstat (limited to 'resources/scripts/build')
-rwxr-xr-xresources/scripts/build/boot/roms_helper5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper
index 7e60ee6a..02d8f61f 100755
--- a/resources/scripts/build/boot/roms_helper
+++ b/resources/scripts/build/boot/roms_helper
@@ -404,7 +404,7 @@ mkRoms()
fi
# make coreboot ROM without a payload in it
- mkCoreboot "${cbdir}" "${_cbcfg}"
+ mkCoreboot "${_cbcfg}"
# now add payloads, per user config:
@@ -465,8 +465,7 @@ mkRoms()
# expected: configs must not specify a payload
mkCoreboot()
{
- cbdir="${1}" # eg. coreboot/default
- _cbcfg="${2}" # eg. resources/coreboot/e6400nvidia_4mb/config/normal
+ _cbcfg="${1}" # eg. resources/coreboot/e6400nvidia_4mb/config/normal
if [ ! -f "${_cbcfg}" ]; then
printf "\nmkCoreboot: coreboot config '%s' does not exist. " \