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