# You can also pass them as parameters to the script
##############################################################################
TARGET=arm-none-eabi # Or: TARGET=arm-elf
-PREFIX=${HOME}/sat # Install location of your final toolchain
+PREFIX=/opt/cortex # Install location of your final toolchain
DARWIN_OPT_PATH=/opt/local # Path in which MacPorts or Fink is installed
# Set to 'sudo' if you need superuser privileges while installing
SUDO=
BINUTILS=binutils-2.21.1
NEWLIB=newlib-1.19.0
-GDB=gdb-7.3.1
+GDB=gdb-7.5.1
OOCD=master
LIBCMSIS=v1.10-3
LIBSTM32=v3.0.0-2
function fetch {
if [ ! -e ${STAMPS}/$1.fetch ]; then
log "Downloading $1 sources..."
- wget -c --no-passive-ftp $2 && touch ${STAMPS}/$1.fetch
+ wget -c $2 && touch ${STAMPS}/$1.fetch
fi
}
if [ ${LIBOPENCM3_EN} != 0 ]; then
if [ ! -e libopencm3-${LIBOPENCM3}.tar.bz2 ]; then
log "Cloning libopencm3 sources..."
- git clone git://libopencm3.git.sourceforge.net/gitroot/libopencm3/libopencm3
+ git clone https://github.com/libopencm3/libopencm3
cd libopencm3
git archive --format=tar --prefix=libopencm3-${LIBOPENCM3}/ ${LIBOPENCM3} | \
bzip2 --stdout > ../libopencm3-${LIBOPENCM3}.tar.bz2