Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Change evbsh3 to be like evbmips, in that a default MACHINE_...



details:   https://anonhg.NetBSD.org/src/rev/471ed7bd1c04
branches:  trunk
changeset: 547340:471ed7bd1c04
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat May 17 07:52:52 2003 +0000

description:
Change evbsh3 to be like evbmips, in that a default MACHINE_ARCH
won't be provided for a MACHINE of "evbsh3"; the user has to explicitly
use "evbsh3-eb" or "evbsh3-el"

diffstat:

 build.sh |  15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r 4d92088a0a86 -r 471ed7bd1c04 build.sh
--- a/build.sh  Sat May 17 05:39:35 2003 +0000
+++ b/build.sh  Sat May 17 07:52:52 2003 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#      $NetBSD: build.sh,v 1.102 2003/05/12 03:01:16 lukem Exp $
+#      $NetBSD: build.sh,v 1.103 2003/05/17 07:52:52 lukem Exp $
 #
 # Copyright (c) 2001-2003 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -186,7 +186,16 @@
                MACHINE_ARCH=powerpc
                ;;
 
-       evbsh3|mmeye)
+       evbsh3-e[bl])
+               MACHINE_ARCH=sh3${MACHINE##*-}
+               makewrappermachine=${MACHINE}
+               MACHINE=${MACHINE%-e[bl]}
+               ;;
+
+       evbsh3)                 # no default MACHINE_ARCH
+               ;;
+
+       mmeye)
                MACHINE_ARCH=sh3eb
                ;;
 
@@ -774,7 +783,7 @@
        eval cat <<EOF ${makewrapout}
 #! /bin/sh
 # Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from:  \$NetBSD: build.sh,v 1.102 2003/05/12 03:01:16 lukem Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.103 2003/05/17 07:52:52 lukem Exp $
 #
 
 EOF



Home | Main Index | Thread Index | Old Index