summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg20
1 files changed, 20 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg b/c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg
new file mode 100644
index 0000000000..97b0dbf4ac
--- /dev/null
+++ b/c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg
@@ -0,0 +1,20 @@
+#
+# Config file for the LEON3 SPARC processor.
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sparc
+RTEMS_CPU_MODEL=leon3
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=leon3
+
+# 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