mk: simplify elfcheck()

fe_() called inside subshell, ftw

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-05 15:51:04 +01:00
parent 437ac2454c
commit c2182d8219
+2 -4
View File
@@ -370,10 +370,8 @@ check_defconfig()
elfcheck() elfcheck()
{ {
# TODO: very hacky check. do it properly (based on build.list) # TODO: *STILL* very hacky check. do it properly (based on build.list)
for elftest in "$dest_dir"/*; do ( fe_ "exit 1" "$dest_dir" -type f ) || return 1; :
[ -e "$elftest" ] && e "$elftest" f && return 1
done; :
} }
handle_makefile() handle_makefile()