Skip to content
Snippets Groups Projects
Commit f9d26227 authored by Chris Mansley's avatar Chris Mansley Committed by Andrew Tridgell
Browse files

Tools: Update gcc-arm version from q2 to q4

This fixes the installation script since version q2 has been removed
from launchpad.
parent 3fe94868
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment