# HG changeset patch # User Giulio Moro # Date 1466135563 -3600 # Node ID cea66c2af5602bc7626c1ac8b94f470f5f2012f9 # Parent 26f3ecfdf3ad9829f18bd7b2159ebbea238512ab build_project was made more silent diff -r 26f3ecfdf3ad -r cea66c2af560 scripts/build_project.sh --- 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..."