diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-13 03:06:55 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-13 03:06:55 +0100 |
commit | c8dfc3ccaadd4fce39dbc437880b7db8630110fd (patch) | |
tree | df3e21b92fdfac01082708c5c2bf33db96b90760 /resources/scripts/build/boot | |
parent | d8a8a1c62269b09f1ffc8cfd1ee8f3ff6b8f1724 (diff) |
build/build/roms: simplify mkCoreboot() arguments
Diffstat (limited to 'resources/scripts/build/boot')
-rwxr-xr-x | resources/scripts/build/boot/roms_helper | 5 |
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. " \ |