summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2008-07-14 16:15:28 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2008-07-14 16:15:28 +0000
commit574fb675105b77dfe9598915207f1f32790f905f (patch)
treefce34dc59687abc02a692c650ec3c86f05259025 /make
parentadded haleakala BSP contributed by Michael Hamel (diff)
downloadrtems-574fb675105b77dfe9598915207f1f32790f905f.tar.bz2
updated gen83xx BSP
updated haleakala BSP added MPC55xx BSP
Diffstat (limited to 'make')
-rw-r--r--make/ChangeLog8
-rw-r--r--make/custom/gen83xx.cfg5
-rw-r--r--make/custom/mpc5566evb.cfg12
-rw-r--r--make/custom/mpc55xx.cfg27
-rw-r--r--make/custom/mpc8313erdb.cfg14
5 files changed, 64 insertions, 2 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index 230784ae83..b9f169df9b 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,3 +1,11 @@
+2008-07-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * custom/mpc5566evb.cfg, custom/mpc55xx.cfg, custom/mpc8313erdb.cfg:
+ New files.
+
+ * custom/mpc83xx.cfg: More CPU_CFLAGS: -meabi -msdata -fno-common.
+ More CFLAGS_OPTIMIZE_V: -funit-at-a-time -W -Wno-unused.
+
2008-07-09 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* custom/pgh360.cfg:
diff --git a/make/custom/gen83xx.cfg b/make/custom/gen83xx.cfg
index d69e0c7899..b99e461d35 100644
--- a/make/custom/gen83xx.cfg
+++ b/make/custom/gen83xx.cfg
@@ -19,10 +19,11 @@ RTEMS_BSP_FAMILY=gen83xx
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
-CPU_CFLAGS = -mcpu=603e -mstrict-align -fno-strict-aliasing\
+CPU_CFLAGS = -mcpu=603e -mstrict-align -fno-strict-aliasing \
+ -meabi -msdata -fno-common \
-D$(RTEMS_BOARD_MODEL) -D$(RTEMS_83XX_DERIVATE)
# optimize flag: typically -O2
-CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
+CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions -funit-at-a-time -W -Wno-unused
AM_LDFLAGS+= -qnolinkcmds -T $(RTEMS_LINKCMDS)
diff --git a/make/custom/mpc5566evb.cfg b/make/custom/mpc5566evb.cfg
new file mode 100644
index 0000000000..f2683427c6
--- /dev/null
+++ b/make/custom/mpc5566evb.cfg
@@ -0,0 +1,12 @@
+##
+#
+# @file
+#
+# @ingroup mpc55xx_config
+#
+# @brief Configuration file for MPC5566 evaluation board.
+#
+
+RTEMS_BOARD_MODEL = MPC5566EVB
+
+include $(RTEMS_ROOT)/make/custom/mpc55xx.cfg
diff --git a/make/custom/mpc55xx.cfg b/make/custom/mpc55xx.cfg
new file mode 100644
index 0000000000..c77ea020b9
--- /dev/null
+++ b/make/custom/mpc55xx.cfg
@@ -0,0 +1,27 @@
+##
+#
+# @file
+#
+# @ingroup mpc55xx_config
+#
+# @brief Shared configuration file for the MPC55xx board family.
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = powerpc
+
+RTEMS_CPU_MODEL = mpc55xx
+
+RTEMS_BSP_FAMILY = mpc55xxevb
+
+# FIXME
+CPU_CFLAGS = -mcpu=8540 -meabi -msdata -fno-common -funit-at-a-time -D__ppc_generic -mstrict-align -D$(RTEMS_BOARD_MODEL)
+
+CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
+
+define make-exe
+ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS)-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
+ $(NM) -g -n $(basename $@).exe > $(basename $@).num
+ $(SIZE) $(basename $@).exe
+endef
diff --git a/make/custom/mpc8313erdb.cfg b/make/custom/mpc8313erdb.cfg
new file mode 100644
index 0000000000..81b3b81301
--- /dev/null
+++ b/make/custom/mpc8313erdb.cfg
@@ -0,0 +1,14 @@
+##
+#
+# @file
+#
+# @ingroup mpc83xx_config
+#
+# @brief Configuration file for the MPC8313E Reference Design Board.
+#
+
+RTEMS_BOARD_MODEL=MPC8313ERDB
+RTEMS_83XX_DERIVATE=MPC8349
+RTEMS_LINKCMDS=linkcmds.mpc8313erdb
+
+include $(RTEMS_ROOT)/make/custom/gen83xx.cfg