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
parent
99418a7e82
commit
db09530905
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue