From c8dfc3ccaadd4fce39dbc437880b7db8630110fd Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 13 May 2023 03:06:55 +0100 Subject: build/build/roms: simplify mkCoreboot() arguments --- resources/scripts/build/boot/roms_helper | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'resources/scripts/build/boot') 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. " \ -- cgit v1.2.1