aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 095fb70c..2fad9c20 100755
--- a/build.sh
+++ b/build.sh
@@ -37,6 +37,7 @@ usage()
printf "\b>\n"
printf "%s all # build all machines\n" "$0"
printf "%s machines # print all machines supported by this script\n" "$0"
+ printf "%s targets # print the build targets corresponding to the supported machines\n" "$0"
exit 1
}
@@ -47,6 +48,13 @@ print_machines()
done
}
+print_targets()
+{
+ for machine in ${supported_machines} ; do
+ printf "replicant_${machine}-userdebug\n"
+ done
+}
+
build()
{
machine="$1"
@@ -72,6 +80,8 @@ if [ "$1" = "all" ] ; then
done
elif [ "$1" = "machines" ] ; then
print_machines
+elif [ "$1" = "targets" ] ; then
+ print_targets
else
found=0
for machine in ${supported_machines} ; do