From 3ec66893e377b088c1284d2d23adb2aeea6d7965 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sat, 27 Feb 2021 22:08:58 +0000 Subject: New port: FiiO M3K on bare metal Change-Id: I7517e7d5459e129dcfc9465c6fbd708619888fbe --- tools/configure | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) (limited to 'tools/configure') diff --git a/tools/configure b/tools/configure index 4ddd044b71..c4d98f3f70 100755 --- a/tools/configure +++ b/tools/configure @@ -586,6 +586,16 @@ mipselcc () { gccchoice="4.9.4" } +mipsr2elcc () { + prefixtools mipsel-elf- + # mips is predefined, but we want it for paths. use __mips instead + GCCOPTS="$CCOPTS -march=mips32r2 -mno-mips16 -mno-long-calls -Umips" + GCCOPTS="$GCCOPTS -ffunction-sections -msoft-float -G 0 -Wno-parentheses" + GCCOPTIMIZE="-fomit-frame-pointer" + endian="little" + gccchoice="4.9.4" +} + maemocc () { # Scratchbox sets up "gcc" based on the active target prefixtools "" @@ -1596,8 +1606,7 @@ cat <