mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-20 23:42:16 +02:00
vendor.sh: Download utils even if vcfg unset
This is because the user may have specified setmac. I tried without this change, on a fresh lbmk, setting the MAC address on an X200 tarball, and it produced an error that ifdtool was unavailable. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+7
-5
@@ -406,10 +406,14 @@ readcfg()
|
|||||||
[ "$board" = "serprog_stm32" ] || \
|
[ "$board" = "serprog_stm32" ] || \
|
||||||
[ "$board" = "serprog_pico" ]; then
|
[ "$board" = "serprog_pico" ]; then
|
||||||
return 1
|
return 1
|
||||||
fi; boarddir="$cbcfgsdir/$board"
|
fi
|
||||||
|
boarddir="$cbcfgsdir/$board"
|
||||||
|
|
||||||
eval "`setcfg "$boarddir/target.cfg"`"
|
eval "`setcfg "$boarddir/target.cfg"`"
|
||||||
[ -z "$vcfg" ] && return 1
|
|
||||||
chkvars tree
|
chkvars tree
|
||||||
|
x_ ./mk -d coreboot "$tree" # even if vendorfiles not used, see: setmac
|
||||||
|
|
||||||
|
[ -z "$vcfg" ] && return 1
|
||||||
|
|
||||||
cbdir="src/coreboot/$tree"
|
cbdir="src/coreboot/$tree"
|
||||||
cbfstool="elf/cbfstool/$tree/cbfstool"
|
cbfstool="elf/cbfstool/$tree/cbfstool"
|
||||||
@@ -418,9 +422,7 @@ readcfg()
|
|||||||
kbc1126_ec_dump="$PWD/$cbdir/util/kbc1126/kbc1126_ec_dump"
|
kbc1126_ec_dump="$PWD/$cbdir/util/kbc1126/kbc1126_ec_dump"
|
||||||
cbfstool="elf/cbfstool/$tree/cbfstool"
|
cbfstool="elf/cbfstool/$tree/cbfstool"
|
||||||
ifdtool="elf/ifdtool/$tree/ifdtool"
|
ifdtool="elf/ifdtool/$tree/ifdtool"
|
||||||
[ -n "$IFD_platform" ] && ifdprefix="-p $IFD_platform"
|
[ -n "$IFD_platform" ] && ifdprefix="-p $IFD_platform"; :
|
||||||
|
|
||||||
x_ ./mk -d coreboot "$tree"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
patch_release_roms()
|
patch_release_roms()
|
||||||
|
|||||||
Reference in New Issue
Block a user