mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 13:29:03 +02:00
mk: simplify elfcheck()
fe_() called inside subshell, ftw Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
6
mk
6
mk
@@ -370,10 +370,8 @@ check_defconfig()
|
||||
|
||||
elfcheck()
|
||||
{
|
||||
# TODO: very hacky check. do it properly (based on build.list)
|
||||
for elftest in "$dest_dir"/*; do
|
||||
[ -e "$elftest" ] && e "$elftest" f && return 1
|
||||
done; :
|
||||
# TODO: *STILL* very hacky check. do it properly (based on build.list)
|
||||
( fe_ "exit 1" "$dest_dir" -type f ) || return 1; :
|
||||
}
|
||||
|
||||
handle_makefile()
|
||||
|
||||
Reference in New Issue
Block a user