summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64/niagara/make/custom/niagara.cfg
blob: 2fd8973bd63d01bada88cb4bb8511bbac462c97c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
#  Config file for the Niagara SPARC64 processor.
#
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=niagara -DSUN4V

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

LDFLAGS = -Wl,--gc-sections