From 3a5073afb77f9b982be796772b3b623ad9393004 Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Thu, 28 Apr 2005 15:05:48 +0000 Subject: 2005-04-28 Jennifer Averett * Makefile.am: Initial release of ep1a bsp * custom/ep1a.cfg: New file. --- make/ChangeLog | 5 +++++ make/Makefile.am | 2 +- make/custom/ep1a.cfg | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 make/custom/ep1a.cfg (limited to 'make') diff --git a/make/ChangeLog b/make/ChangeLog index 1a0dbd45f9..511fb703f8 100644 --- a/make/ChangeLog +++ b/make/ChangeLog @@ -1,3 +1,8 @@ +2005-04-28 Jennifer Averett + + * Makefile.am: Initial release of ep1a bsp + * custom/ep1a.cfg: New file. + 2005-04-28 Jennifer Averett * custom/score603e.cfg: Update score603e to new exception model diff --git a/make/Makefile.am b/make/Makefile.am index dba0fb4851..d3078c054c 100644 --- a/make/Makefile.am +++ b/make/Makefile.am @@ -23,7 +23,7 @@ dist_rtems_make_custom_DATA = custom/default.cfg EXTRA_DIST += custom/Cygwin-posix.cfg custom/FreeBSD-posix.cfg \ custom/HPUX9-posix.cfg custom/Linux-posix.cfg custom/Solaris-posix.cfg \ custom/bare.cfg custom/cvme961.cfg custom/dmv152.cfg custom/dmv177.cfg \ - custom/erc32.cfg custom/erc32nfp.cfg custom/gen68302.cfg \ + custom/ep1a custom/erc32.cfg custom/erc32nfp.cfg custom/gen68302.cfg \ custom/gen68340.cfg custom/gen68360.cfg custom/gen68360_040.cfg \ custom/uC5282.cfg \ custom/gensh1.cfg custom/helas403.cfg custom/i386ex.cfg custom/idp.cfg \ diff --git a/make/custom/ep1a.cfg b/make/custom/ep1a.cfg new file mode 100644 index 0000000000..880684de5d --- /dev/null +++ b/make/custom/ep1a.cfg @@ -0,0 +1,36 @@ +# +# Config file for the Radstone PowerPC 8245 ep1a +# +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc +RTEMS_CPU_MODEL=mpc8245 + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY=ep1a + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align + +# optimize flag: typically -0, could use -O4 or -fast +# -O4 is ok for RTEMS +# NOTE: some level of -O may be actually required by inline assembler +#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions +CFLAGS_OPTIMIZE_V = -O4 + +# debug flags: typically none, but at least -O1 is required due to this +# BSP using inlined code +CFLAGS_DEBUG_V = -O1 + +define make-exe + $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ + $(LINK_OBJS) $(LINK_LIBS) + $(NM) -g -n $@ > $(basename $@).num + $(SIZE) $@ +endef + +# Miscellaneous additions go here -- cgit v1.2.3