From 85dece12e43c1b778560900fb834c713ed72e515 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 15 Oct 2009 09:14:54 +0000 Subject: =?UTF-8?q?2009-10-15=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * make/custom/av5282.cfg: New (relocated from /make/custom). --- c/src/lib/libbsp/m68k/av5282/ChangeLog | 4 +++ .../lib/libbsp/m68k/av5282/make/custom/av5282.cfg | 29 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg diff --git a/c/src/lib/libbsp/m68k/av5282/ChangeLog b/c/src/lib/libbsp/m68k/av5282/ChangeLog index 54a2cceac2..e776f8318a 100644 --- a/c/src/lib/libbsp/m68k/av5282/ChangeLog +++ b/c/src/lib/libbsp/m68k/av5282/ChangeLog @@ -1,3 +1,7 @@ +2009-10-15 Ralf Corsépius + + * make/custom/av5282.cfg: New (relocated from /make/custom). + 2009-09-30 Ralf Corsépius * console/console.c: Reflect termios_baud_to_number having been diff --git a/c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg b/c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg new file mode 100644 index 0000000000..fdc3e522b4 --- /dev/null +++ b/c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg @@ -0,0 +1,29 @@ +# +# Config file for the uC5282 BSP +# + +RTEMS_CPU=m68k +RTEMS_CPU_MODEL=mcf5282 + +include $(RTEMS_ROOT)/make/custom/default.cfg + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY=av5282 + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = -mcpu=528x + + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer + +ifndef MTARGET +MTARGET=ram +endif + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary --strip-all \ + $(basename $@).exe $(basename $@)$(DOWNEXT) +endef -- cgit v1.2.3