Mercurial > hg > beaglert
changeset 435:cea66c2af560 prerelease
build_project was made more silent
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Fri, 17 Jun 2016 04:52:43 +0100 |
parents | 26f3ecfdf3ad |
children | e09c156e04f4 2e058007c6bc |
files | scripts/build_project.sh |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/build_project.sh Fri Jun 17 01:10:05 2016 +0100 +++ b/scripts/build_project.sh Fri Jun 17 04:52:43 2016 +0100 @@ -93,7 +93,7 @@ echo "Stopping running process..." # sets the date and stop running process -ssh $BBB_ADDRESS "date -s '`date`' > /dev/null; mkdir -p $BBB_PROJECT_FOLDER; make -C $BBB_BELA_HOME stop" +ssh $BBB_ADDRESS "date -s '`date`' > /dev/null; mkdir -p $BBB_PROJECT_FOLDER; make --no-print-directory -C $BBB_BELA_HOME stop" #concatenate arguments to form path. HOST_SOURCE_PATH= #initially empty, will be filled with input arguments @@ -110,7 +110,7 @@ then #if rsync is not available, brutally clean the destination folder #and copy over all the files again and recompile them - ssh bbb "make -C $BBB_BELA_HOME sourceclean PROJECT=$BBB_PROJECT_NAME"; + ssh bbb "make --no-print-directory -C $BBB_BELA_HOME sourceclean PROJECT=$BBB_PROJECT_NAME"; scp $HOST_SOURCE_PATH "$BBB_NETWORK_TARGET_FOLDER" else #rsync @@ -119,7 +119,6 @@ # --no-t makes sure file timestamps are not preserved, so that the Makefile will not think that targets are up to date when replacing files on the BBB # with older files from the host. This will solve 99% of the issues with Makefile thinking a target is up to date when it is not. - echo rsync -avc --no-t --delete-after --exclude=$BBB_PROJECT_NAME --exclude=build $HOST_SOURCE_PATH"/" "$BBB_NETWORK_TARGET_FOLDER/" #trailing slashes used here make sure rsync does not create another folder inside the target folder rsync -avc --no-t --delete-after --exclude=$BBB_PROJECT_NAME --exclude=build $HOST_SOURCE_PATH"/" "$BBB_NETWORK_TARGET_FOLDER/" #trailing slashes used here make sure rsync does not create another folder inside the target folder fi; @@ -130,7 +129,7 @@ fi # Make new Bela executable and run -MAKE_COMMAND="make -C $BBB_BELA_HOME PROJECT='$BBB_PROJECT_NAME' CL='$COMMAND_ARGS' $BBB_MAKEFILE_OPTIONS" +MAKE_COMMAND="make --no-print-directory -C $BBB_BELA_HOME PROJECT='$BBB_PROJECT_NAME' CL='$COMMAND_ARGS' $BBB_MAKEFILE_OPTIONS" if [ $RUN_PROJECT -eq 0 ] then echo "Building project..."