Back to home page

LXR

 
 

    


Warning, /bsps/m68k/av5282/config/av5282.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=528x
0012 
0013 
0014 # optimize flag: typically -O2
0015 CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
0016 
0017 # FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2574.
0018 # The following two lines enable compiling and linking on per element.
0019 CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
0020 LDFLAGS = -Wl,--gc-sections
0021 
0022 ifndef MTARGET
0023 MTARGET=ram
0024 endif
0025 
0026 define bsp-post-link
0027         $(default-bsp-post-link)
0028         $(OBJCOPY) -O binary --strip-all \
0029             $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
0030 endef