Back to home page

LXR

 
 

    


Warning, /bsps/m68k/mcf5329/config/mcf5329.cfg is written in an unsupported language. File is not indexed.

0001 #
0002 #  Config file for the mcf5329 BSP
0003 #
0004 
0005 
0006 RTEMS_CPU=m68k
0007 
0008 include $(RTEMS_ROOT)/make/custom/default.cfg
0009 
0010 #  This contains the compiler options necessary to select the CPU model
0011 #  and (hopefully) optimize for it.
0012 #CPU_CFLAGS = -mcpu=5329
0013 CPU_CFLAGS = -mcpu=5307
0014 
0015 # optimize flag: typically -O2
0016 CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
0017 
0018 # FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2569.
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