Back to home page

LXR

 
 

    


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

0001 #
0002 #  Config file for a generic PowerPC 405 based card
0003 #
0004 
0005 include $(RTEMS_ROOT)/make/custom/default.cfg
0006 
0007 RTEMS_CPU=powerpc
0008 
0009 #  This contains the compiler options necessary to select the CPU model
0010 #  and (hopefully) optimize for it.
0011 #
0012 CPU_CFLAGS = -mcpu=403 -meabi -msdata=sysv -fno-common
0013 
0014 # optimize flag: typically -0, could use -O4 or -fast
0015 # -O4 is ok for RTEMS
0016 # NOTE: some level of -O may be actually required by inline assembler
0017 CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
0018 CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
0019 
0020 LDFLAGS = -Wl,--gc-sections
0021 
0022 define bsp-post-link
0023         $(default-bsp-post-link)
0024         $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
0025 endef