use 'makeoptions LDSCRIPTBASE="sh.x"' (or shl.x) to select ldscript file
This commit is contained in:
parent
5da8f604df
commit
9c331f1f89
|
@ -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 BSC_RTCOR_VAL =0xa582
|
|||
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
|
||||
|
|
|
@ -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 BSC_RTCOR_VAL =0xa582
|
|||
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
|
||||
|
||||
|
|
|
@ -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_RTCNT_VAL =0xa500 # XXX
|
|||
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
|
||||
|
||||
|
|
|
@ -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 BRAINS
|
|||
options USE_RTCCLK
|
||||
options SYNC_CLOCK_TO_RTC
|
||||
|
||||
makeoptions LDSCRIPTBASE="shl.x" # for little endian
|
||||
|
||||
options LED_ADDR=0xa8000000
|
||||
|
||||
# Standard system options
|
||||
|
|
|
@ -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 BSC_RFCR_VAL =0xa400
|
|||
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
|
||||
|
|
|
@ -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= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue