Warning, /bsps/m68k/mcf5235/config/mcf5235.cfg is written in an unsupported language. File is not indexed.
0001 #
0002 # Config file for the mcf5235 BSP
0003 #
0004
0005 RTEMS_CPU=m68k
0006
0007 include $(RTEMS_ROOT)/make/custom/default.cfg
0008
0009 # This contains the compiler options necessary to select the CPU model
0010 # and (hopefully) optimize for it.
0011 CPU_CFLAGS = -mcpu=5235
0012
0013 # optimize flag: typically -O2
0014 CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
0015
0016 # FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2571.
0017 # The following two lines enable compiling and linking on per element.
0018 CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
0019 LDFLAGS = -Wl,--gc-sections
0020
0021 ifndef MTARGET
0022 MTARGET=ram
0023 endif
0024
0025 # This defines the operations performed on the linked executable.
0026 # is currently required.
0027 define bsp-post-link
0028 $(OBJCOPY) -O binary --strip-all \
0029 $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
0030 $(SIZE) $(basename $@)$(EXEEXT)
0031 endef