diff --git a/build.sh b/build.sh index f23dd16671..66cf8f2dc5 100755 --- a/build.sh +++ b/build.sh @@ -729,6 +729,8 @@ usage() { $ECHO " self-update - git pull, recompile, make local boot image, bootstrap" $ECHO " quick-update - git pull, refresh-all, save" $ECHO " update|latest - git pull, recompile, download a boot image, bootstrap" + $ECHO " compile - compile the binary" + $ECHO " recompile - recompile the binary" $ECHO " bootstrap - bootstrap with existing boot image" $ECHO " net-bootstrap - recompile, download a boot image, bootstrap" $ECHO " make-target - find and print the os-arch-cpu string" @@ -770,6 +772,7 @@ case "$1" in quick-update) update; refresh_image ;; update|latest) update; download_and_bootstrap ;; compile) find_build_info; make_factor ;; + recompile) find_build_info; make_clean; make_factor ;; bootstrap) get_config_info; bootstrap ;; net-bootstrap) net_bootstrap_no_pull ;; make-target) FIND_MAKE_TARGET=true; ECHO=false; find_build_info; exit_script ;;