1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-29 00:11:16 +01:00

[projects test_suite]

* fixed another two regression tests

[tools toolchains]

* updated to gcc 4.7
This commit is contained in:
Oliver Hahm 2012-11-08 18:07:59 -05:00
parent 55bb484b22
commit 4b6a2bd688
3 changed files with 13 additions and 9 deletions

View File

@ -4,10 +4,12 @@ set timeout 1
spawn pseudoterm $env(PORT)
sleep 1
sleep 1
send "\n"
send "\n"
expect {
">$" {}
">" {}
timeout { exit 1 }
}
@ -67,7 +69,7 @@ expect {
}
expect {
">$" {}
">" {}
timeout { exit 1 }
}

View File

@ -5,9 +5,11 @@ set timeout 2
spawn pseudoterm $env(PORT)
sleep 1
send "\n"
send "\n"
expect {
">$" {}
">" {}
timeout { exit 1 }
}

View File

@ -6,8 +6,8 @@ PREFIX=${HOME}/gnuarm
# directory to download source files and store intermediates
GNUARM_BUILDDIR=${GNUARM_BUILDDIR:-"/tmp/gnuarm-${USER}"}
GCC_VER=4.6.2
GCC_MD5=780f614ab18c7a9066dec6387d7490b2
GCC_VER=4.7.2
GCC_MD5=cc308a0891e778cfda7a151ab8a6e762
BINUTILS_VER=2.20.1
BINUTILS_MD5=2b9dc8f2b7dbd5ec5992c6e29de0b764
@ -53,11 +53,11 @@ build_binutils() {
build_gcc() {
echo "Building gcc..."
if [ ! -e .gcc_extracted ] ; then
tar -xjf ${FILES}/gcc-core-${GCC_VER}.tar.bz2 &&
tar -xjf ${FILES}/gcc-${GCC_VER}.tar.bz2 &&
touch .gcc_extracted
fi
rm -rf gcc-build && mkdir -p gcc-build && cd gcc-build &&
../gcc-${GCC_VER}/configure --target=arm-elf --prefix=${PREFIX} --enable-interwork --enable-multilib --enable-languages="c" --with-newlib --enable-lto --disable-libssp --with-headers=${GNUARM_BUILDDIR}/newlib-${NEWLIB_VER}/newlib/libc/include &&
../gcc-${GCC_VER}/configure --target=arm-elf --prefix=${PREFIX} --enable-interwork --enable-multilib --enable-languages="c,c++" --with-newlib --enable-lto --disable-libssp --with-headers=${GNUARM_BUILDDIR}/newlib-${NEWLIB_VER}/newlib/libc/include --enable-obsolete &&
make ${MAKE_THREADS} all &&
make install &&
@ -125,7 +125,7 @@ export PATH=$PATH:${PREFIX}/bin
download() {
download_file http://ftp.gnu.org/gnu/binutils binutils-${BINUTILS_VER}.tar.bz2 ${BINUTILS_MD5} &&
download_file ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-${GCC_VER} gcc-core-${GCC_VER}.tar.bz2 ${GCC_MD5} &&
download_file ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-${GCC_VER} gcc-${GCC_VER}.tar.bz2 ${GCC_MD5} &&
download_file ftp://sources.redhat.com/pub/newlib newlib-${NEWLIB_VER}.tar.gz ${NEWLIB_MD5} &&
download_file http://ftp.gnu.org/gnu/gdb gdb-${GDB_VER}.tar.bz2 ${GDB_MD5}
}