summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-20 18:01:02 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-20 18:01:02 +0100
commit277e1df0afed91ed3575c567d980f625789488f7 (patch)
tree35d137f11e8815b09ef5ef393dfa3d0972aa1f5c
parented9eb4624ccdddb4767e8755fae166fb527ce65b (diff)
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>
-rwxr-xr-xresources/scripts/build/module/cbutils5
1 files changed, 0 insertions, 5 deletions
diff --git a/resources/scripts/build/module/cbutils b/resources/scripts/build/module/cbutils
index 1cd5c930..b362ee7a 100755
--- a/resources/scripts/build/module/cbutils
+++ b/resources/scripts/build/module/cbutils
@@ -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