build/cbutils: remove unnecessary directory check

it will already fail if the coreboot download did.

if the coreboot download succeeds, the directory exists.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe 2023-05-20 18:01:02 +01:00
parent ed9eb4624c
commit 277e1df0af

View file

@ -58,11 +58,6 @@ buildutils() {
if [ ! -d "coreboot/${cbtree}/" ]; then
./download coreboot $cbtree || return 1
fi
if [ ! -d "coreboot/${cbtree}/" ]; then
printf "build/cbutils: coreboot/%s not found. Exiting\n" \
"${cbtree}"
return 1
fi
for util in cbfstool ifdtool; do
make -j$(nproc) -BC "coreboot/${cbtree}/util/${util}/" \
|| return 1