Warning, /bsps/m68k/mcf52235/config/mcf52235.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=52235
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 #2570.
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 # This defines the operations performed on the linked executable.
0022 # is currently required.
0023 define bsp-post-link
0024 $(OBJCOPY) -O binary --strip-all \
0025 $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
0026 $(SIZE) $(basename $@)$(EXEEXT)
0027 endef