summaryrefslogtreecommitdiffstats
path: root/bsps/mips/jmr3904/config/jmr3904.cfg
blob: ed4e6b3be0175c17439104ab961e5c5dffd089fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
#  Config file for the jmr3904 board which has a simulator in gdb
#

include $(RTEMS_ROOT)/make/custom/default.cfg

RTEMS_CPU=mips

CPU_CFLAGS = -march=r3900 -Wa,-xgot -G0

CFLAGS_OPTIMIZE_V = -O2 -g

# arguments to compile and link with per-element sections
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
LDFLAGS            = -Wl,--gc-sections