mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 19:23:24 +02:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user