Back to home page

LXR

 
 

    


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

0001 #
0002 #  Config file for the uC5282 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=5282
0012 
0013 # optimize flag: typically -O2
0014 CFLAGS_OPTIMIZE_V = -O2 -g
0015 
0016 # FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2575.
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 define bsp-post-link
0022         $(default-bsp-post-link)
0023         $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
0024 endef