summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:00 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:00 +0000
commit7707b72e5a192ee4839baf78fe0295198cf58281 (patch)
treea8684ba84824dca38fa47f63943263d80dc498bf
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-7707b72e5a192ee4839baf78fe0295198cf58281.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/gen68360_040.cfg: New (relocated from /make/custom). * make/custom/gen68360.cfg: New (relocated from /make/custom). * make/custom/pgh360.cfg: New (relocated from /make/custom).
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/ChangeLog6
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360.cfg29
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360_040.cfg14
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg20
4 files changed, 69 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/ChangeLog b/c/src/lib/libbsp/m68k/gen68360/ChangeLog
index 7fa39a838a..1a5314284f 100644
--- a/c/src/lib/libbsp/m68k/gen68360/ChangeLog
+++ b/c/src/lib/libbsp/m68k/gen68360/ChangeLog
@@ -1,3 +1,9 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/gen68360_040.cfg: New (relocated from /make/custom).
+ * make/custom/gen68360.cfg: New (relocated from /make/custom).
+ * make/custom/pgh360.cfg: New (relocated from /make/custom).
+
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Include <rtems/termiostypes.h>.
diff --git a/c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360.cfg b/c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360.cfg
new file mode 100644
index 0000000000..87785cf391
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360.cfg
@@ -0,0 +1,29 @@
+#
+# Config file for a "generic 68360" BSP
+#
+# $Id$
+#
+
+RTEMS_CPU=m68k
+
+ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
+RTEMS_CPU_MODEL=m68040
+else
+RTEMS_CPU_MODEL=m68360
+endif
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=gen68360
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
+CPU_CFLAGS = -mcpu=68040
+else
+CPU_CFLAGS = -mcpu=cpu32
+endif
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
diff --git a/c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360_040.cfg b/c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360_040.cfg
new file mode 100644
index 0000000000..e39c6d7350
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/gen68360/make/custom/gen68360_040.cfg
@@ -0,0 +1,14 @@
+#
+# Configuration file for a 68040 using the 68360 in companion mode
+#
+# $Id$
+#
+
+#
+# All gen68360 configurations share the same base file, only the cpu model
+# differs.
+#
+
+RTEMS_GEN68360_COMPANION_MODE=yes
+
+include $(RTEMS_ROOT)/make/custom/gen68360.cfg
diff --git a/c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg b/c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg
new file mode 100644
index 0000000000..a12ac1d374
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg
@@ -0,0 +1,20 @@
+#
+# Config file for a "generic 68360" BSP
+#
+# $Id$
+#
+
+RTEMS_CPU=m68k
+RTEMS_CPU_MODEL=m68360
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=gen68360
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mcpu32
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer