summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-05 15:51:04 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-05 15:51:04 +0100
commitc2182d821939a7d3c3e8ff2b6ff96e9e44ff96fa (patch)
tree1637c3996a7134d9fbe6495643ca6fe5106dfffb
parent437ac2454c1a6a77c40894379f5073b4412d0c8d (diff)
mk: simplify elfcheck()
fe_() called inside subshell, ftw Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xmk6
1 files changed, 2 insertions, 4 deletions
diff --git a/mk b/mk
index dcf135a1..08ac22a2 100755
--- a/mk
+++ b/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()