diff options
author | Leah Rowe <leah@libreboot.org> | 2023-07-17 08:20:02 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-07-17 08:20:02 +0100 |
commit | 7c90a4077fa1038394e3d470268ea6e509c2d734 (patch) | |
tree | 9d0d3c7b8549084bba84cfde4ce1bc0d85993461 /resources/scripts/build | |
parent | d918139f36fd01ae1fae85a3fab89e6a7924bede (diff) |
build/boot/roms mkUBootRoms: initialise variables
they were outside the scope, outside of the if statements.
in some shells, this is ok.
we use "sh" so the user could have any shell.
be a bit nicer to the more asininely technically
correct sh implementations out there
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/build')
-rwxr-xr-x | resources/scripts/build/boot/roms_helper | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper index 8e1655a5..48ba85ea 100755 --- a/resources/scripts/build/boot/roms_helper +++ b/resources/scripts/build/boot/roms_helper @@ -487,6 +487,9 @@ mkUbootRom() { target_uboot_config="${3}" cbfstool_path="${4}" + target_ubootelf="" + target_ubdir="" + if [ "${target_uboot_config}" = "default" ]; then target_ubdir="payload/u-boot/${board}" else |