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>fsdg20230625
parent
ed9eb4624c
commit
277e1df0af
|
@ -58,11 +58,6 @@ buildutils() {
|
||||||
if [ ! -d "coreboot/${cbtree}/" ]; then
|
if [ ! -d "coreboot/${cbtree}/" ]; then
|
||||||
./download coreboot $cbtree || return 1
|
./download coreboot $cbtree || return 1
|
||||||
fi
|
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
|
for util in cbfstool ifdtool; do
|
||||||
make -j$(nproc) -BC "coreboot/${cbtree}/util/${util}/" \
|
make -j$(nproc) -BC "coreboot/${cbtree}/util/${util}/" \
|
||||||
|| return 1
|
|| return 1
|
||||||
|
|
Loading…
Reference in New Issue