trees: don't do elfcheck if build.list missing

otherwise, some checks are done too soon, and nothing
gets built.

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-06-07 10:31:01 +01:00 committed by Leah Rowe
parent 99418a7e82
commit db09530905
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ build_projects()
[ -f "$listfile" ] || listfile="" # optional on single-tree [ -f "$listfile" ] || listfile="" # optional on single-tree
dest_dir="$elfdir" dest_dir="$elfdir"
elfcheck || return 0 [ ! -f "$listfile" ] || elfcheck || return 0
cdir="src/${project}" cdir="src/${project}"
[ -d "$cdir" ] || x_ ./update trees -f "$project" [ -d "$cdir" ] || x_ ./update trees -f "$project"