From b9d6c60d55a3a0aabdc2507172ee3c033e090785 Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Sat, 19 Sep 1998 15:26:17 -0600 Subject: [PATCH] config.sub: Add support for C4x target. * config.sub: Add support for C4x target. * configure.in: Likewise. From-SVN: r22482 --- config.sub | 6 +++++- configure.in | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config.sub b/config.sub index 7ec7560ed20..c31952a4b93 100755 --- a/config.sub +++ b/config.sub @@ -167,7 +167,7 @@ case $basic_machine in | 1750a | dsp16xx | pdp11 \ | mips64 | mipsel | mips64el | mips64orion | mips64orionel \ | mipstx39 | mipstx39el \ - | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850) + | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 x4x) basic_machine=$basic_machine-unknown ;; m88110 | m680[01234]0 | m683?2 | m68360 | z8k | v70 | h8500 | w65) # CYGNUS LOCAL @@ -858,6 +858,10 @@ case $basic_machine in pmac | pmac-mpw) # CYGNUS LOCAL basic_machine=powerpc-apple ;; + c4x*) + basic_machine=c4x-none + os=-coff + ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 diff --git a/configure.in b/configure.in index 57ce57d9cca..e43f8b5ce7f 100644 --- a/configure.in +++ b/configure.in @@ -560,6 +560,9 @@ case "${target}" in arm-*-riscix*) noconfigdirs="$noconfigdirs ld target-libgloss" ;; + c4x-*-*) + noconfigdirs="$noconfigdirs target-libg++ target-libstdc++ target-libio target-librx target-libgloss" + ;; thumb-*-coff) noconfigdirs="$noconfigdirs target-libgloss" ;;