diff options
| author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-09-20 16:26:08 -0400 |
|---|---|---|
| committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-09-20 16:26:39 -0400 |
| commit | 663626f06d79aa4d3d3b17e0391897c852658a28 (patch) | |
| tree | 05fd05167e6d68ef3a01bbd5e8d49aa683daa730 /script/bootstrap/chipkit.sh | |
| parent | 086c6e96ca4b98e8a144b5f7f37a7b3b6fedc61d (diff) | |
Move scripts inside tests directory.
Fixed https://github.com/sudar/Arduino-Makefile/issues/260
Diffstat (limited to 'script/bootstrap/chipkit.sh')
| -rw-r--r-- | script/bootstrap/chipkit.sh | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/script/bootstrap/chipkit.sh b/script/bootstrap/chipkit.sh deleted file mode 100644 index efe9615..0000000 --- a/script/bootstrap/chipkit.sh +++ /dev/null @@ -1,61 +0,0 @@ -set -e -BOOTSTRAP_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -source $BOOTSTRAP_DIR/common.sh - -echo "Installing dependencies for building for the chipKIT" - - -if [ -z "$MPIDE_DIR" ] || ! test -e $MPIDE_DIR || [ $OS == "cygwin" ]; then - - echo "Installing MPIDE..." - - if [ $OS == "cygwin" ]; then - MPIDE_BASENAME="mpide-0023-windows-20130715" - MPIDE_FILE="$MPIDE_BASENAME".zip - EXTRACT_COMMAND="unzip -q" - if ! command -v unzip >/dev/null 2>&1; then - _cygwin_error "unzip" - fi - elif [ $OS == "mac" ]; then - MPIDE_BASENAME=mpide-0023-macosx-20130715 - MPIDE_FILE="$MPIDE_BASENAME".dmg - else - MPIDE_BASENAME=mpide-0023-linux64-20130817-test - MPIDE_FILE="$MPIDE_BASENAME".tgz - EXTRACT_COMMAND="tar -xzf" - fi - - MPIDE_URL=http://chipkit.s3.amazonaws.com/builds/$MPIDE_FILE - - _pushd $DEPENDENCIES_FOLDER - if ! test -e $MPIDE_FILE - then - echo "Downloading MPIDE..." - download $MPIDE_URL $MPIDE_FILE - fi - - if ! test -d $MPIDE_BASENAME - then - echo "Installing MPIDE to local folder..." - if [ $OS == "mac" ]; then - hdiutil attach $MPIDE_FILE - cp -R /Volumes/Mpide/Mpide.app/Contents/Resources/Java $MPIDE_BASENAME - hdiutil detach /Volumes/Mpide - else - $EXTRACT_COMMAND $MPIDE_FILE - fi - echo "MPIDE installed" - fi - - if [ $OS == "cygwin" ]; then - chmod a+x mpide/hardware/pic32/compiler/pic32-tools/bin/* - chmod a+x -R mpide/hardware/pic32/compiler/pic32-tools/pic32mx/ - chmod a+x mpide/*.dll - chmod a+x mpide/hardware/tools/avr/bin/* - fi - _popd - -fi - -echo -echo "${bldgreen}chipKIT dependencies installed.$txtrst" |
