comparison 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
comparison
equal deleted inserted replaced
524:9f455f01edd5 525:1ca196e35105
11 11
12 WATCH="0" 12 WATCH="0"
13 usage() 13 usage()
14 { 14 {
15 THIS_SCRIPT=`basename "$0"` 15 THIS_SCRIPT=`basename "$0"`
16 echo "Usage: $THIS_SCRIPT [-c command-line-args] [-nbfF] <directory-with-source-files>" 16 build_script_usage_brief
17 echo " 17 echo "
18
18 This script copies a directory of source files to the BeagleBone, compiles 19 This script copies a directory of source files to the BeagleBone, compiles
19 and runs it. The Bela core files should have first been copied over 20 and runs it. The Bela core files should have first been copied over
20 using the \`update_board' script once. 21 using the \`update_board' script once.
21 The source directory should contain at least one .c, .cpp, .S or .pd file. 22 The source directory should contain at least one .c, .cpp, .S or .pd file.
22 23
52 -p) 53 -p)
53 shift 54 shift
54 BBB_PROJECT_NAME="$1" 55 BBB_PROJECT_NAME="$1"
55 ;; 56 ;;
56 --clean) 57 --clean)
57 BBB_MAKEFILE_OPTIONS="$BBB_MAKEFILE_OPTIONS clean" 58 BBB_MAKEFILE_OPTIONS="$BBB_MAKEFILE_OPTIONS projectclean"
58 ;; 59 ;;
59 -m) 60 -m)
60 shift 61 shift
61 BBB_MAKEFILE_OPTIONS="$BBB_MAKEFILE_OPTIONS $1" 62 BBB_MAKEFILE_OPTIONS="$BBB_MAKEFILE_OPTIONS $1"
62 ;; 63 ;;