diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |