Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbsh3/conf use 'makeoptions LDSCRIPTBASE="sh.x"' (...



details:   https://anonhg.NetBSD.org/src/rev/65258732b56e
branches:  trunk
changeset: 495574:65258732b56e
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Jul 31 20:57:45 2000 +0000

description:
use 'makeoptions LDSCRIPTBASE="sh.x"' (or shl.x) to select ldscript file

diffstat:

 sys/arch/evbsh3/conf/COMPUTEX7750    |   5 ++++-
 sys/arch/evbsh3/conf/COMPUTEXEVB     |   5 ++++-
 sys/arch/evbsh3/conf/CQREEKSH3       |   5 ++++-
 sys/arch/evbsh3/conf/DREAMCAST       |   4 +++-
 sys/arch/evbsh3/conf/KZSH401         |   5 ++++-
 sys/arch/evbsh3/conf/Makefile.evbsh3 |  10 +++++-----
 6 files changed, 24 insertions(+), 10 deletions(-)

diffs (123 lines):

diff -r c0fd42987a3c -r 65258732b56e sys/arch/evbsh3/conf/COMPUTEX7750
--- a/sys/arch/evbsh3/conf/COMPUTEX7750 Mon Jul 31 20:47:41 2000 +0000
+++ b/sys/arch/evbsh3/conf/COMPUTEX7750 Mon Jul 31 20:57:45 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: COMPUTEX7750,v 1.2 2000/03/22 00:58:19 cgd Exp $
+#      $NetBSD: COMPUTEX7750,v 1.3 2000/07/31 20:57:45 msaitoh Exp $
 #
 #      GENERIC -- everything that's currently supported
 #
@@ -49,6 +49,9 @@
 options                FRQCR_VAL       =0x0e23
 options                BSC_SDMR3_VAL   =0xff940110
 
+makeoptions    LDSCRIPTBASE="sh.x"     # for big endian
+#makeoptions   LDSCRIPTBASE="shl.x"    # for little endian
+
 # Standard system options
 #options       UCONSOLE        # users can use TIOCCONS (for xconsole)
 #options       INSECURE        # disable kernel security levels
diff -r c0fd42987a3c -r 65258732b56e sys/arch/evbsh3/conf/COMPUTEXEVB
--- a/sys/arch/evbsh3/conf/COMPUTEXEVB  Mon Jul 31 20:47:41 2000 +0000
+++ b/sys/arch/evbsh3/conf/COMPUTEXEVB  Mon Jul 31 20:57:45 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: COMPUTEXEVB,v 1.4 2000/02/24 19:42:35 msaitoh Exp $
+#      $NetBSD: COMPUTEXEVB,v 1.5 2000/07/31 20:57:46 msaitoh Exp $
 #
 #      GENERIC -- everything that's currently supported
 #
@@ -34,6 +34,9 @@
 options                FRQCR_VAL       =0x0122
 options                PFC_SCPCR_VAL   =0x00aa
 
+makeoptions    LDSCRIPTBASE="sh.x"     # for big endian
+#makeoptions   LDSCRIPTBASE="shl.x"    # for little endian
+
 # CPU-related options.
 #options       MATH_EMULATE    # floating point emulation
 
diff -r c0fd42987a3c -r 65258732b56e sys/arch/evbsh3/conf/CQREEKSH3
--- a/sys/arch/evbsh3/conf/CQREEKSH3    Mon Jul 31 20:47:41 2000 +0000
+++ b/sys/arch/evbsh3/conf/CQREEKSH3    Mon Jul 31 20:57:45 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: CQREEKSH3,v 1.7 2000/02/24 19:42:35 msaitoh Exp $
+#      $NetBSD: CQREEKSH3,v 1.8 2000/07/31 20:57:46 msaitoh Exp $
 #
 #      GENERIC -- everything that's currently supported
 #
@@ -34,6 +34,9 @@
 options                BSC_RTCOR_VAL   =0xa53a
 options                FRQCR_VAL       =0x0102
 
+makeoptions    LDSCRIPTBASE="sh.x"     # for big endian
+#makeoptions   LDSCRIPTBASE="shl.x"    # for little endian
+
 # CPU-related options.
 #options       MATH_EMULATE    # floating point emulation
 
diff -r c0fd42987a3c -r 65258732b56e sys/arch/evbsh3/conf/DREAMCAST
--- a/sys/arch/evbsh3/conf/DREAMCAST    Mon Jul 31 20:47:41 2000 +0000
+++ b/sys/arch/evbsh3/conf/DREAMCAST    Mon Jul 31 20:57:45 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: DREAMCAST,v 1.1 2000/07/13 18:11:53 msaitoh Exp $
+#      $NetBSD: DREAMCAST,v 1.2 2000/07/31 20:57:46 msaitoh Exp $
 #
 #      GENERIC -- everything that's currently supported
 #
@@ -31,6 +31,8 @@
 options                USE_RTCCLK
 options                SYNC_CLOCK_TO_RTC
 
+makeoptions    LDSCRIPTBASE="shl.x"    # for little endian
+
 options                LED_ADDR=0xa8000000
 
 # Standard system options
diff -r c0fd42987a3c -r 65258732b56e sys/arch/evbsh3/conf/KZSH401
--- a/sys/arch/evbsh3/conf/KZSH401      Mon Jul 31 20:47:41 2000 +0000
+++ b/sys/arch/evbsh3/conf/KZSH401      Mon Jul 31 20:57:45 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: KZSH401,v 1.2 2000/03/22 00:58:19 cgd Exp $
+#      $NetBSD: KZSH401,v 1.3 2000/07/31 20:57:47 msaitoh Exp $
 #
 #      GENERIC -- everything that's currently supported
 #
@@ -45,6 +45,9 @@
 options                FRQCR_VAL       =0x0e13
 options                BSC_SDMR2_VAL   =0xff90008c
 
+makeoptions    LDSCRIPTBASE="sh.x"     # for big endian
+#makeoptions   LDSCRIPTBASE="shl.x"    # for little endian
+
 options                LED_ADDR=0xa8000000
 
 # Standard system options
diff -r c0fd42987a3c -r 65258732b56e sys/arch/evbsh3/conf/Makefile.evbsh3
--- a/sys/arch/evbsh3/conf/Makefile.evbsh3      Mon Jul 31 20:47:41 2000 +0000
+++ b/sys/arch/evbsh3/conf/Makefile.evbsh3      Mon Jul 31 20:57:45 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.evbsh3,v 1.7 2000/05/09 00:56:23 hubertf Exp $
+#      $NetBSD: Makefile.evbsh3,v 1.8 2000/07/31 20:57:47 msaitoh Exp $
 
 # Makefile for NetBSD
 #
@@ -52,15 +52,15 @@
 CWARNFLAGS+=   -Wpointer-arith -Wno-parentheses
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
 # XXX always get it right.  --thorpej 
-CWARNFLAGS+=    -Wno-uninitialized
+CWARNFLAGS+=   -Wno-uninitialized
 .if (${HAVE_EGCS} != "")
 CWARNFLAGS+=   -Wno-main
 .endif
 CFLAGS=                ${DEBUG} ${COPTS} ${CWARNFLAGS}
 AFLAGS=                -x assembler-with-cpp -traditional-cpp -D_LOCORE
-LINKFLAGS=     -e start -Map netbsd.map -T ../../conf/sh.x
-LINKFLAGS2=    -e start -Map netbsd2.map -T ../../conf/sh.x.RAM
-LINKFLAGS3=    -e start -Map netbsd3.map -T ../../conf/sh.x.ICE
+LINKFLAGS=     -e start -Map netbsd.map -T ../../conf/${LDSCRIPTBASE}
+LINKFLAGS2=    -e start -Map netbsd2.map -T ../../conf/${LDSCRIPTBASE}.RAM
+LINKFLAGS3=    -e start -Map netbsd3.map -T ../../conf/${LDSCRIPTBASE}.ICE
 STRIPFLAGS=    --strip-debug
 MACHINE=evbsh3
 MACHINE_ARCH=sh3



Home | Main Index | Thread Index | Old Index