diff options
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon3/make/custom/ut700.cfg')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/make/custom/ut700.cfg | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/make/custom/ut700.cfg b/c/src/lib/libbsp/sparc/leon3/make/custom/ut700.cfg new file mode 100644 index 0000000000..9ee473eed2 --- /dev/null +++ b/c/src/lib/libbsp/sparc/leon3/make/custom/ut700.cfg @@ -0,0 +1,18 @@ +# +# Config file for the UT699e/UT700 LEON3 SPARC processor. +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=sparc +RTEMS_CPU_MODEL=leon3 + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = -mcpu=leon3 -mfix-ut700 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections |