Diffs to support the Wasabi port of the SuperH 5 evaluation board

(sh5el), from Steve Woodford
This commit is contained in:
agc 2002-10-31 13:51:20 +00:00
parent 08c4be67bc
commit 091606dcbc
2 changed files with 7 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#! /bin/sh
#
# $NetBSD: config.guess,v 1.3 2002/08/22 08:21:31 jlam Exp $
# $NetBSD: config.guess,v 1.4 2002/10/31 13:51:20 agc Exp $
#
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
@ -159,12 +159,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
arm*) machine=arm-unknown ;;
sh3el) machine=shl-unknown ;;
sh3eb) machine=sh-unknown ;;
sh5el) machine=sh5le-unknown ;;
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
esac
# The Operating System including object format, if it has switched
# to ELF recently, or will in the future.
case "${UNAME_MACHINE_ARCH}" in
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
arm*|i386|m68k|ns32k|sh3*|sh5*|sparc|vax)
eval $set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep __ELF__ >/dev/null

View file

@ -1,6 +1,6 @@
#! /bin/sh
#
# $NetBSD: config.sub,v 1.3 2002/08/22 08:21:31 jlam Exp $
# $NetBSD: config.sub,v 1.4 2002/10/31 13:51:20 agc Exp $
#
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
@ -1022,6 +1022,9 @@ case $basic_machine in
sh64)
basic_machine=sh64-unknown
;;
sh5el)
basic_machine=sh5le-unknown
;;
sparc | sparcv9 | sparcv9b)
basic_machine=sparc-sun
;;