binutils wants the tuple to end with -eabi, so I needed the attached
patch.


//Peter
>From c98614002cfea842e94bcadbbee531392bfeeefa Mon Sep 17 00:00:00 2001
From: Peter Stuge <[email protected]>
Date: Sun, 10 Oct 2010 02:29:37 +0200
Subject: [PATCH] crossdev: Support bare-metal -eabi targets with newlib

Signed-off-by: Peter Stuge <[email protected]>
---
 crossdev |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/crossdev b/crossdev
index a782d19..a64bd42 100755
--- a/crossdev
+++ b/crossdev
@@ -223,7 +223,7 @@ parse_target() {
                        ;;
 
                # Bare metal targets
-               *-newlib|*-elf)
+               *-newlib|*-elf|*-eabi)
                        LPKG="newlib"
                        KPKG="[none]"
                        STAGE_DEFAULT=${STAGE_LIBC}
-- 
1.7.2

Reply via email to