From 475e68851de5fe097d5436a9e4f1063c79d4a1a6 Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Fri, 20 Nov 2009 10:27:53 +0000 Subject: Add arm-elf-eabi target to rockboxdev.sh, selected with "e". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23676 a1c6a512-1295-4272-9138-f99709370657 --- tools/rockboxdev.sh | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'tools/rockboxdev.sh') diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index 3257d524ec..a3bacce9ee 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh @@ -153,6 +153,8 @@ gccver="4.0.3" # default gcc version binutils="2.16.1" # The binutils version to use gccconfigure="" #default is nothing added to configure binutilsconf="" #default is nothing added to configure +gcctarget="" #default make target +gccinstalltarget="install" #default install target system=`uname -s` gccurl="http://www.rockbox.org/gcc" @@ -185,6 +187,16 @@ case $arch in target="arm-elf" gccpatch="rockbox-multilibs-arm-elf-gcc-4.0.3_3.diff" ;; + [Ee]) + target="arm-elf-eabi" + gccpatch="rockbox-multilibs-noexceptions-arm-elf-eabi-gcc-4.4.2_1.diff" + binutilsconf="--disable-werror" + gccver="4.4.2" + # needed to build a bare-metal gcc-4.4.2 + gcctarget="all-gcc all-target-libgcc" + gccinstalltarget="install-gcc install-target-libgcc" + binutils="2.20" + ;; [Ii]) target="mipsel-elf" gccver="4.1.2" @@ -313,9 +325,9 @@ echo "ROCKBOXDEV: gcc/configure" # recent Ubuntu installations CFLAGS=-U_FORTIFY_SOURCE ../gcc-$gccver/configure --target=$target --prefix=$prefix/$target --enable-languages=c $gccconfigure echo "ROCKBOXDEV: gcc/make" -$make +$make $gcctarget echo "ROCKBOXDEV: gcc/make install to $prefix/$target" -$make install +$make $gccinstalltarget cd .. # get out of build-gcc cd .. # get out of $builddir @@ -326,6 +338,7 @@ echo "Select target arch:" echo "s - sh (Archos models)" echo "m - m68k (iriver h1x0/h3x0, ifp7x0 and iaudio)" echo "a - arm (ipods, iriver H10, Sansa, etc)" +echo "e - arm-eabi (same as above, new testing toolchain)" echo "i - mips (Jz4740 and ATJ-based players)" echo "separate multiple targets with spaces" echo "(Example: \"s m a\" will build sh, m86k and arm)" @@ -353,6 +366,10 @@ case $arch in buildone $arch cleardir $builddir $arch ;; + [Ee]) + buildone $arch + cleardir $builddir $arch + ;; *) echo "An unsupported architecture option: $arch" exit -- cgit v1.2.3