Mercurial > hg > beaglert
diff scripts/setup_board.sh @ 300:dbeed520b014 prerelease
Renamed projects to examples
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Fri, 27 May 2016 13:58:20 +0100 |
parents | 0357b8df93a5 |
children | ff5f346a293e |
line wrap: on
line diff
--- a/scripts/setup_board.sh Fri May 27 01:01:32 2016 +0100 +++ b/scripts/setup_board.sh Fri May 27 13:58:20 2016 +0100 @@ -35,7 +35,7 @@ shift $((OPTIND-1)) # Find location of this script so we can locate the rest of the files -SCRIPTPATH=$(readlink -f "$0") +SCRIPTPATH=$(readlink "$0") SCRIPTDIR=$(dirname "$SCRIPTPATH") read -p "Warning: this script will DELETE any existing BeagleRT files from your BeagleBone! Continue? (y/N)" -r @@ -48,7 +48,7 @@ # Copy relevant files to BeagleBone Black echo "Copying new files to BeagleBone..." - scp -r $SCRIPTDIR/../core $SCRIPTDIR/../include $SCRIPTDIR/../Makefile $SCRIPTDIR/../libNE10.a $SCRIPTDIR/../libprussdrv.a $BBB_ADDRESS:$BBB_PATH &&\ + scp -r $SCRIPTDIR/../core $SCRIPTDIR/../include $SCRIPTDIR/../Makefile $SCRIPTDIR/../libNE10.a $SCRIPTDIR/../libprussdrv.a $SCRIPTDIR/../examples $BBB_ADDRESS:$BBB_PATH &&\ scp $SCRIPTDIR/../libpd.so $BBB_ADDRESS:/usr/lib if [ $? -ne 0 ] then @@ -57,7 +57,7 @@ fi # Make remaining directories needed for building echo "Creating directory structure on BeagleBone..." - ssh $BBB_ADDRESS "mkdir -p $BBB_PATH/source ; mkdir -p $BBB_PATH/build ; mkdir -p $BBB_PATH/build/core ; mkdir -p $BBB_PATH/build/source" &&\ + ssh $BBB_ADDRESS "mkdir -p $BBB_PATH/build ; mkdir -p $BBB_PATH/build/core ; mkdir -p $BBB_PATH/build/projects; mkdir -p $BBB_PATH/projects" &&\ echo "Done." else echo "Aborting..."