summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/ods68302
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:25 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:15:25 +0000
commit1f21e5637d62d920f026a5aa5c9d4fe217baa416 (patch)
tree1dd1c49b3cdc3d0b1aa7027e8503236251bd2380 /c/src/lib/libbsp/m68k/ods68302
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-1f21e5637d62d920f026a5aa5c9d4fe217baa416.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/ods68302.cfg: New (relocated from /make/custom).
Diffstat (limited to 'c/src/lib/libbsp/m68k/ods68302')
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/ChangeLog4
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/make/custom/ods68302.cfg35
2 files changed, 39 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/ods68302/ChangeLog b/c/src/lib/libbsp/m68k/ods68302/ChangeLog
index 4bf4aacde5..5fdf5b52b8 100644
--- a/c/src/lib/libbsp/m68k/ods68302/ChangeLog
+++ b/c/src/lib/libbsp/m68k/ods68302/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/ods68302.cfg: New (relocated from /make/custom).
+
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
diff --git a/c/src/lib/libbsp/m68k/ods68302/make/custom/ods68302.cfg b/c/src/lib/libbsp/m68k/ods68302/make/custom/ods68302.cfg
new file mode 100644
index 0000000000..6ca293e087
--- /dev/null
+++ b/c/src/lib/libbsp/m68k/ods68302/make/custom/ods68302.cfg
@@ -0,0 +1,35 @@
+#
+# Config file for a "ODS 68302" BSP
+#
+# Differs from the gen68302 by providing most of the boot code as C
+# code. This allows separate board definitions to be based on C
+# header files. The file is based on the VARIANT defined.
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=m68k
+RTEMS_CPU_MODEL=m68302
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=ods68302
+
+#
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+# 68000+softfloat results in gcc 2.95.2 giving default libraries.
+# CPU_CFLAGS = -m68302 -msoft-float
+CPU_CFLAGS = -mcpu=68302
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
+
+ifeq ($(RTEMS_DEBUGGER),yes)
+LINKCMDS=$(PROJECT_RELEASE)/lib/debugrom
+else
+LINKCMDS=$(PROJECT_RELEASE)/lib/rom
+endif
+