summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64/usiii/make/custom/usiii.cfg
blob: b9fad21839d9f4ed102df22d6bcadf950d6b8bb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
#  Config file for the UltraSparc III, IV SPARC64 processors.
#  TODO: currently configured and tested only for ultrasparc3
include $(RTEMS_ROOT)/make/custom/default.cfg

RTEMS_CPU=sparc64

#  This contains the compiler options necessary to select the CPU model
#  and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=ultrasparc3 -DUS3 -DSUN4U

# optimize flag: typically -g -O2
CFLAGS_OPTIMIZE_V = -g -O2
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections

LDFLAGS = -Wl,--gc-sections