summaryrefslogtreecommitdiffstats
path: root/bsps/sparc
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-21 10:22:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-23 15:18:42 +0200
commitadb85dd473af5c9a72e9da9b7fe013d1b216abc3 (patch)
treeed54d2ce2354cf2b75995d1e1f2bc685436bc4ca /bsps/sparc
parentbsps: Remove AC_CONFIG_SRCDIR() (diff)
downloadrtems-adb85dd473af5c9a72e9da9b7fe013d1b216abc3.tar.bz2
bsps: Move make/custom/* files to bsps
Adjust various build files. Remove automatic generation of the c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script. This patch is a part of the BSP source reorganization. Update #3285.
Diffstat (limited to 'bsps/sparc')
-rw-r--r--bsps/sparc/erc32/config/erc32.cfg17
-rw-r--r--bsps/sparc/leon2/config/at697f.cfg17
-rw-r--r--bsps/sparc/leon2/config/leon2.cfg17
-rw-r--r--bsps/sparc/leon3/config/gr712rc.cfg17
-rw-r--r--bsps/sparc/leon3/config/gr740.cfg1
-rw-r--r--bsps/sparc/leon3/config/leon3.cfg17
-rw-r--r--bsps/sparc/leon3/config/ut699.cfg17
-rw-r--r--bsps/sparc/leon3/config/ut700.cfg17
8 files changed, 120 insertions, 0 deletions
diff --git a/bsps/sparc/erc32/config/erc32.cfg b/bsps/sparc/erc32/config/erc32.cfg
new file mode 100644
index 0000000000..84cc752daf
--- /dev/null
+++ b/bsps/sparc/erc32/config/erc32.cfg
@@ -0,0 +1,17 @@
+#
+# Config file for the European Space Agency ERC32
+# a V7 SPARC processor derived from the Cypress 601/602 set.
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sparc
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=cypress
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/sparc/leon2/config/at697f.cfg b/bsps/sparc/leon2/config/at697f.cfg
new file mode 100644
index 0000000000..94ab6efbe9
--- /dev/null
+++ b/bsps/sparc/leon2/config/at697f.cfg
@@ -0,0 +1,17 @@
+#
+# Config file for the AT697F LEON2 SPARC processor.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sparc
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=leon -mfix-at697f
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/sparc/leon2/config/leon2.cfg b/bsps/sparc/leon2/config/leon2.cfg
new file mode 100644
index 0000000000..a5e76e7aa9
--- /dev/null
+++ b/bsps/sparc/leon2/config/leon2.cfg
@@ -0,0 +1,17 @@
+#
+# Config file for the LEON2 SPARC processor.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sparc
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=leon
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/sparc/leon3/config/gr712rc.cfg b/bsps/sparc/leon3/config/gr712rc.cfg
new file mode 100644
index 0000000000..897dd0142f
--- /dev/null
+++ b/bsps/sparc/leon3/config/gr712rc.cfg
@@ -0,0 +1,17 @@
+#
+# Config file for the GR712RC LEON3 SPARC processor.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sparc
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=leon3 -mfix-gr712rc
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/sparc/leon3/config/gr740.cfg b/bsps/sparc/leon3/config/gr740.cfg
new file mode 100644
index 0000000000..86da029c42
--- /dev/null
+++ b/bsps/sparc/leon3/config/gr740.cfg
@@ -0,0 +1 @@
+include $(RTEMS_ROOT)/make/custom/leon3.cfg
diff --git a/bsps/sparc/leon3/config/leon3.cfg b/bsps/sparc/leon3/config/leon3.cfg
new file mode 100644
index 0000000000..d931d6c5f1
--- /dev/null
+++ b/bsps/sparc/leon3/config/leon3.cfg
@@ -0,0 +1,17 @@
+#
+# Config file for the LEON3 SPARC processor.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sparc
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=leon3
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/sparc/leon3/config/ut699.cfg b/bsps/sparc/leon3/config/ut699.cfg
new file mode 100644
index 0000000000..a8fff49b3a
--- /dev/null
+++ b/bsps/sparc/leon3/config/ut699.cfg
@@ -0,0 +1,17 @@
+#
+# Config file for the UT699 LEON3 SPARC processor.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sparc
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu=leon -mfix-ut699
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/sparc/leon3/config/ut700.cfg b/bsps/sparc/leon3/config/ut700.cfg
new file mode 100644
index 0000000000..bcca9010ed
--- /dev/null
+++ b/bsps/sparc/leon3/config/ut700.cfg
@@ -0,0 +1,17 @@
+#
+# Config file for the UT699e/UT700 LEON3 SPARC processor.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=sparc
+
+# 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