summaryrefslogtreecommitdiffstats
path: root/bsps/m68k/gen68360/config/gen68360_040.cfg
blob: bec9e243d25afb3a057c3344d0e13aca6a05b748 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
#  Configuration file for a 68040 using the 68360 in companion mode
#

RTEMS_CPU=m68k

CPU_CFLAGS = -mcpu=68040

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

CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer

# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2566.
# The following two lines enable compiling and linking on per element.
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
LDFLAGS = -Wl,--gc-sections