summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 05:09:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 05:09:03 +0000
commitb5025ec5f0dbfdfc29d1c218e3cc2c346c07035e (patch)
tree7b02a9c4feeabf1c935d0315a0ed02fdddad363d
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-b5025ec5f0dbfdfc29d1c218e3cc2c346c07035e.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/gen5200.cfg: New (relocated from /make/custom).
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/make/custom/gen5200.cfg24
2 files changed, 28 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
index 93a5df4d38..a6ed5de0a8 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * make/custom/gen5200.cfg: New (relocated from /make/custom).
+
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Reflect termios_baud_to_number having been
diff --git a/c/src/lib/libbsp/powerpc/gen5200/make/custom/gen5200.cfg b/c/src/lib/libbsp/powerpc/gen5200/make/custom/gen5200.cfg
new file mode 100644
index 0000000000..d889eb2ba3
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/gen5200/make/custom/gen5200.cfg
@@ -0,0 +1,24 @@
+#
+# Shared base config file for GEN5200 BSPs
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=powerpc
+RTEMS_CPU_MODEL=mpc6xx
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=gen5200
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+CPU_CFLAGS = -mcpu=603e -mstrict-align \
+ -meabi -msdata -fno-common
+
+# optimize flag: typically -O2
+CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
+
+LDFLAGS += -qnolinkcmds -T $(RTEMS_LINKCMDS)