From fbb4b5dc780c33a28891af5f07993513807b09c2 Mon Sep 17 00:00:00 2001 From: Daniel Frank Date: Fri, 16 Aug 2019 23:23:55 +0200 Subject: [PATCH] build.sh: use list-targets make target --- build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 8ea0fc2..13e874b 100755 --- a/build.sh +++ b/build.sh @@ -96,8 +96,7 @@ done if [ "$auto_targets" = "1" ]; then # detect available targets - make - targets="$(make | awk '$1 == "*" {print $2}' | sort | xargs)" + targets="$(make list-targets | sort | xargs)" else # if a list of build targets has been supplied, only build those targets="$(echo "${build_targets:-$targets}" | sed -e 's_,_ _g')"