--- c/src/lib/libbsp/sparc/leon2/make/custom/leon2fp.cfg | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 c/src/lib/libbsp/sparc/leon2/make/custom/leon2fp.cfg
diff --git a/c/src/lib/libbsp/sparc/leon2/make/custom/leon2fp.cfg b/c/src/lib/libbsp/sparc/leon2/make/custom/leon2fp.cfg new file mode 100644 index 0000000000..750f9628a7 --- /dev/null +++ b/c/src/lib/libbsp/sparc/leon2/make/custom/leon2fp.cfg @@ -0,0 +1,18 @@ +# +# Config file for the LEON2 SPARC processor with hardware floating-point. +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=sparc +RTEMS_CPU_MODEL=leon2 + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = -mcpu=v8 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections -- 2.12.3 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel