From f9d262278f74174234afca800e00bd5d778bdb6f Mon Sep 17 00:00:00 2001 From: Chris Mansley <chris@chrismansley.com> Date: Tue, 11 Mar 2014 21:40:17 -0700 Subject: [PATCH] Tools: Update gcc-arm version from q2 to q4 This fixes the installation script since version q2 has been removed from launchpad. --- Tools/scripts/install-prereqs-ubuntu.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tools/scripts/install-prereqs-ubuntu.sh b/Tools/scripts/install-prereqs-ubuntu.sh index 2f25bfe8b..98ab4d9b1 100755 --- a/Tools/scripts/install-prereqs-ubuntu.sh +++ b/Tools/scripts/install-prereqs-ubuntu.sh @@ -51,19 +51,19 @@ if [ ! -d ../PX4NuttX ]; then fi if [ ! -d ~/gcc-arm-none-eabi-4_6-2012q2 ]; then - ARM_TARBALL=gcc-arm-none-eabi-4_6-2012q2-20120614.tar.bz2 + ARM_TARBALL=gcc-arm-none-eabi-4_6-2012q4-20121016.tar.bz2 ( cd ~; - curl -OL "https://launchpad.net/gcc-arm-embedded/4.6/4.6-2012-q2-update/+download/$ARM_TARBALL"; + curl -OL "https://launchpad.net/gcc-arm-embedded/4.6/4.6-2012-q4-update/+download/$ARM_TARBALL"; tar xjf ${ARM_TARBALL}; rm ${ARM_TARBALL}; ) fi -exportline="export PATH=$HOME/gcc-arm-none-eabi-4_6-2012q2/bin:\$PATH"; +exportline="export PATH=$HOME/gcc-arm-none-eabi-4_6-2012q4/bin:\$PATH"; if ! grep -Fxq "$exportline" ~/.profile ; then - if maybe_prompt_user "Add $HOME/gcc-arm-none-eabi-4_6-2012q2/bin to your PATH [Y/n]?" ; then + if maybe_prompt_user "Add $HOME/gcc-arm-none-eabi-4_6-2012q4/bin to your PATH [Y/n]?" ; then echo $exportline >> ~/.profile else - echo "Skipping adding $HOME/gcc-arm-none-eabi-4_6-2012q2/bin to PATH." + echo "Skipping adding $HOME/gcc-arm-none-eabi-4_6-2012q4/bin to PATH." fi fi -- GitLab