summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-27 12:56:27 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-27 12:56:27 +0100
commitf4a1d2217fe3d4b8b7ec29326a52a5eb25368f55 (patch)
tree915d8352e53e0a3b3bbc2581592068bf1b3b3da1
parent68356a8ca0eb647ef9d4ddd0a3f873ff00ada867 (diff)
tree.sh: condense build_targets()
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/tree.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/tree.sh b/include/tree.sh
index e394e973..a2d4c378 100644
--- a/include/tree.sh
+++ b/include/tree.sh
@@ -86,9 +86,7 @@ build_targets()
unset CROSS_COMPILE
export PATH="$xbmkpath"
[ "$x" = "list" ] && x_ ls -1 "config/$project" && \
- listfile="" && break
-
- target="$x"
+ listfile="" && break; target="$x"
printf "'make %s', '%s', '%s'\n" "$mode" "$project" "$target"
x_ handle_defconfig && [ -z "$mode" ] && x_ $postmake; :
done; :