From 7c90a4077fa1038394e3d470268ea6e509c2d734 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 17 Jul 2023 08:20:02 +0100 Subject: 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 --- resources/scripts/build/boot/roms_helper | 3 +++ 1 file changed, 3 insertions(+) (limited to 'resources/scripts') 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 -- cgit v1.2.1