Mercurial > hg > beaglert
diff scripts/build_project.sh @ 425:99de323c13b3 prerelease
Scripts use sh instead of bash. Some fixes in run_project and build_project
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Thu, 16 Jun 2016 15:55:03 +0100 |
parents | a430a16d2c02 |
children | 2e01a9d6cb58 |
line wrap: on
line diff
--- a/scripts/build_project.sh Thu Jun 16 14:34:18 2016 +0100 +++ b/scripts/build_project.sh Thu Jun 16 15:55:03 2016 +0100 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # This script compiles a Bela project on the BeagleBone Black and # optionally runs it. Pass a directory path in the first argument. @@ -30,14 +30,16 @@ The -c option passes command-line arguments to the Bela program; enclose the argument string in quotes. + -p arg : sets the name of the project to run (default: $BBB_PROJECT_NAME ) + By default, the project runs in the foreground of the current terminal, within a screen session that can be detached later. The -f argument runs the project in the foreground of the current terminal, without screen, so the output can be piped to another destination. The -b argument runs it in a screen in the background, so no output is shown. The -m argument allows to pass arguments to the Makefile before the run target. For instance, - pass -m \`"projectclean"\` or \`-m "distclean"\` to clean project-specific pre-built - objects, or all the pre-built objects, respectively." + pass -m \`"projectclean"\` or \`-m "distclean"\` to clean project-specific + pre-built objects, or all the pre-built objects, respectively." } OPTIND=1