Back to home page

LXR

 
 

    


Warning, /bsps/sparc/leon3/config/gr712rc.cfg is written in an unsupported language. File is not indexed.

0001 #
0002 #  Config file for the GR712RC LEON3 SPARC processor.
0003 #
0004 
0005 include $(RTEMS_ROOT)/make/custom/default.cfg
0006 
0007 RTEMS_CPU=sparc
0008 
0009 #  This contains the compiler options necessary to select the CPU model
0010 #  and (hopefully) optimize for it.
0011 #  GCC and clang use different switches to select target:
0012 ifneq (,$(findstring clang,$(CC)))
0013   CPU_CFLAGS = -mcpu=gr712rc
0014 else
0015   CPU_CFLAGS = -mcpu=leon3 -mfix-gr712rc
0016 endif
0017 
0018 # optimize flag: typically -O2
0019 CFLAGS_OPTIMIZE_V = -O2 -g
0020 CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
0021 
0022 LDFLAGS = -Wl,--gc-sections