summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/gen5200
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/powerpc/gen5200
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/powerpc/gen5200')
-rw-r--r--bsps/powerpc/gen5200/config/brs5l.cfg10
-rw-r--r--bsps/powerpc/gen5200/config/brs6l.cfg10
-rw-r--r--bsps/powerpc/gen5200/config/dp2.cfg5
-rw-r--r--bsps/powerpc/gen5200/config/gen5200.inc19
-rw-r--r--bsps/powerpc/gen5200/config/icecube.cfg12
-rw-r--r--bsps/powerpc/gen5200/config/pm520_cr825.cfg10
-rw-r--r--bsps/powerpc/gen5200/config/pm520_ze30.cfg10
7 files changed, 76 insertions, 0 deletions
diff --git a/bsps/powerpc/gen5200/config/brs5l.cfg b/bsps/powerpc/gen5200/config/brs5l.cfg
new file mode 100644
index 0000000000..d6e556a183
--- /dev/null
+++ b/bsps/powerpc/gen5200/config/brs5l.cfg
@@ -0,0 +1,10 @@
+#
+# Config file for customer specific MPC5200 board
+#
+
+#
+# All GEN5200 configurations share the same base file, only a few
+# parameters differ.
+#
+
+include $(RTEMS_ROOT)/make/custom/gen5200.inc
diff --git a/bsps/powerpc/gen5200/config/brs6l.cfg b/bsps/powerpc/gen5200/config/brs6l.cfg
new file mode 100644
index 0000000000..d6e556a183
--- /dev/null
+++ b/bsps/powerpc/gen5200/config/brs6l.cfg
@@ -0,0 +1,10 @@
+#
+# Config file for customer specific MPC5200 board
+#
+
+#
+# All GEN5200 configurations share the same base file, only a few
+# parameters differ.
+#
+
+include $(RTEMS_ROOT)/make/custom/gen5200.inc
diff --git a/bsps/powerpc/gen5200/config/dp2.cfg b/bsps/powerpc/gen5200/config/dp2.cfg
new file mode 100644
index 0000000000..81941fe0dc
--- /dev/null
+++ b/bsps/powerpc/gen5200/config/dp2.cfg
@@ -0,0 +1,5 @@
+#
+# Config file for Direct Prototyping Data Processing (DP2) board.
+#
+
+include $(RTEMS_ROOT)/make/custom/gen5200.inc
diff --git a/bsps/powerpc/gen5200/config/gen5200.inc b/bsps/powerpc/gen5200/config/gen5200.inc
new file mode 100644
index 0000000000..71c605c8da
--- /dev/null
+++ b/bsps/powerpc/gen5200/config/gen5200.inc
@@ -0,0 +1,19 @@
+#
+# Shared base config file for GEN5200 BSPs
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=powerpc
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+CPU_CFLAGS = -mcpu=603e -mstrict-align \
+ -meabi -msdata=sysv -fno-common
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/powerpc/gen5200/config/icecube.cfg b/bsps/powerpc/gen5200/config/icecube.cfg
new file mode 100644
index 0000000000..c53040e1b3
--- /dev/null
+++ b/bsps/powerpc/gen5200/config/icecube.cfg
@@ -0,0 +1,12 @@
+#
+# Config file for Freescale 5200Lite a.k.a. IceCube
+#
+# NOTE: This is the same as the Embedded Planets EP5200C and
+# possibly other MPC5200 boards.
+
+#
+# All GEN5200 configurations share the same base file, only a few
+# parameters differ.
+#
+
+include $(RTEMS_ROOT)/make/custom/gen5200.inc
diff --git a/bsps/powerpc/gen5200/config/pm520_cr825.cfg b/bsps/powerpc/gen5200/config/pm520_cr825.cfg
new file mode 100644
index 0000000000..d86814ab66
--- /dev/null
+++ b/bsps/powerpc/gen5200/config/pm520_cr825.cfg
@@ -0,0 +1,10 @@
+#
+# Config file for MicroSys PM520 Module (based on MPC5200)
+# on carrier board CR825
+
+#
+# All GEN5200 configurations share the same base file, only a few
+# parameters differ.
+#
+
+include $(RTEMS_ROOT)/make/custom/gen5200.inc
diff --git a/bsps/powerpc/gen5200/config/pm520_ze30.cfg b/bsps/powerpc/gen5200/config/pm520_ze30.cfg
new file mode 100644
index 0000000000..e16e2e1886
--- /dev/null
+++ b/bsps/powerpc/gen5200/config/pm520_ze30.cfg
@@ -0,0 +1,10 @@
+#
+# Config file for MicroSys PM520 Module (based on MPC5200)
+# on carrier board ZE30
+
+#
+# All GEN5200 configurations share the same base file, only a few
+# parameters differ.
+#
+
+include $(RTEMS_ROOT)/make/custom/gen5200.inc