diff options
author | agc <agc> | 2002-10-31 13:51:20 +0000 |
---|---|---|
committer | agc <agc> | 2002-10-31 13:51:20 +0000 |
commit | 6dcb2434dc9677460cd129e4588aee816e4fda11 (patch) | |
tree | 41245b01f5064a00585490d4a29036aaa212c686 | |
parent | c83f8492a8ee2327047d6c9465f9dd337d5091b6 (diff) | |
download | pkgsrc-6dcb2434dc9677460cd129e4588aee816e4fda11.tar.gz |
Diffs to support the Wasabi port of the SuperH 5 evaluation board
(sh5el), from Steve Woodford
-rwxr-xr-x | mk/gnu-config/config.guess | 5 | ||||
-rwxr-xr-x | mk/gnu-config/config.sub | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/mk/gnu-config/config.guess b/mk/gnu-config/config.guess index 6b3e0ed6f01..f4f7b7d28fb 100755 --- a/mk/gnu-config/config.guess +++ b/mk/gnu-config/config.guess @@ -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 diff --git a/mk/gnu-config/config.sub b/mk/gnu-config/config.sub index 4186e44a58e..a1dbb2364bc 100755 --- a/mk/gnu-config/config.sub +++ b/mk/gnu-config/config.sub @@ -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 ;; |