Mercurial > hg > beaglert
diff scripts/build_pd.sh @ 190:3b8a28edae41
- Updated heavy scripts to work with custom header
- Added -mfpu=neon flag to Makefile for custom .C files
author | chnrx <chris.heinrichs@gmail.com> |
---|---|
date | Wed, 27 Jan 2016 19:13:57 +0000 |
parents | 28d1473742bc |
children | b5d59cf94c64 |
line wrap: on
line diff
--- a/scripts/build_pd.sh Tue Jan 26 00:02:15 2016 +0000 +++ b/scripts/build_pd.sh Wed Jan 27 19:13:57 2016 +0000 @@ -51,6 +51,9 @@ shift done +# remove old static files to avoid obsolete errors +rm "$projectpath"/Hv* "$projectpath"/Message* "$projectpath"/Control* "$projectpath"/Signal* &>/dev/null + /usr/bin/python hvresources/uploader.py "$pdpath"/ -n bbb -g c -o "$projectpath"/; if [ $? -ne 0 ]; then /usr/local/bin/python hvresources/uploader.py "$pdpath"/ -n bbb -g c -o "$projectpath"/; @@ -66,10 +69,16 @@ # check how to copy/sync render.cpp file... if [ $render -eq 0 ]; then - rsync "hvresources/render.cpp" $projectpath/ --ignore-existing; + cp "hvresources/render.cpp" $projectpath/; fi; -rsync -c -r "$projectpath"/ "$BBB_ADDRESS":"$BBB_PATH"/source; +cp "hvresources/HvUtils.h" $projectpath/; + +echo "updating files on board..." + +rsync -c -r --exclude 'HvContext*' "$projectpath"/ "$BBB_ADDRESS":"$BBB_PATH"/source; + +scp "$projectpath"/HvContext* "$BBB_ADDRESS":"$BBB_PATH"/source; if [ $? -ne 0 ]; then echo "";