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>
20240612_branch
Leah Rowe 2024-06-07 10:31:01 +01:00
parent 3bd562a265
commit dea41f138a
1 changed files with 1 additions and 1 deletions

View File

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