diff scripts/build_project.sh @ 525:1ca196e35105 prerelease

Upated scripts
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 23 Jun 2016 13:22:59 +0100
parents 42f6af3a5f1d
children
line wrap: on
line diff
--- a/scripts/build_project.sh	Thu Jun 23 10:19:24 2016 +0100
+++ b/scripts/build_project.sh	Thu Jun 23 13:22:59 2016 +0100
@@ -13,8 +13,9 @@
 usage()
 {
 	THIS_SCRIPT=`basename "$0"`
-	echo "Usage: $THIS_SCRIPT [-c command-line-args] [-nbfF] <directory-with-source-files>"
+	build_script_usage_brief
 	echo "
+
 	This script copies a directory of source files to the BeagleBone, compiles
 	and runs it. The Bela core files should have first been copied over
 	using the \`update_board' script once.
@@ -54,7 +55,7 @@
 			BBB_PROJECT_NAME="$1"
 		;;	
 		--clean)
-			BBB_MAKEFILE_OPTIONS="$BBB_MAKEFILE_OPTIONS clean"
+			BBB_MAKEFILE_OPTIONS="$BBB_MAKEFILE_OPTIONS projectclean"
 		;;
 		-m)
 			shift