summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon2/make/custom/leon2.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2/make/custom/leon2.cfg')
-rw-r--r--c/src/lib/libbsp/sparc/leon2/make/custom/leon2.cfg19
1 files changed, 19 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/make/custom/leon2.cfg b/c/src/lib/libbsp/sparc/leon2/make/custom/leon2.cfg
new file mode 100644
index 0000000000..7980659194
--- /dev/null
+++ b/c/src/lib/libbsp/sparc/leon2/make/custom/leon2.cfg
@@ -0,0 +1,19 @@
+#
+# Config file for the LEON2 SPARC processor.
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sparc
+RTEMS_CPU_MODEL=leon2
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=leon2
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=cypress -msoft-float
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g