From f81f74af93afbc84bbb86856a7e073e1ea1e48da Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 15 Oct 2009 09:15:27 +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/sim68000.cfg: New (relocated from /make/custom). * make/custom/simcpu32.cfg: New (relocated from /make/custom). --- c/src/lib/libbsp/m68k/sim68000/ChangeLog | 5 +++++ .../libbsp/m68k/sim68000/make/custom/sim68000.cfg | 25 ++++++++++++++++++++++ .../libbsp/m68k/sim68000/make/custom/simcpu32.cfg | 25 ++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 c/src/lib/libbsp/m68k/sim68000/make/custom/sim68000.cfg create mode 100644 c/src/lib/libbsp/m68k/sim68000/make/custom/simcpu32.cfg (limited to 'c/src/lib/libbsp/m68k/sim68000') diff --git a/c/src/lib/libbsp/m68k/sim68000/ChangeLog b/c/src/lib/libbsp/m68k/sim68000/ChangeLog index 6f096fc57a..963919a480 100644 --- a/c/src/lib/libbsp/m68k/sim68000/ChangeLog +++ b/c/src/lib/libbsp/m68k/sim68000/ChangeLog @@ -1,3 +1,8 @@ +2009-10-15 Ralf Corsépius + + * make/custom/sim68000.cfg: New (relocated from /make/custom). + * make/custom/simcpu32.cfg: New (relocated from /make/custom). + 2009-09-15 Ralf Corsépius * configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS. diff --git a/c/src/lib/libbsp/m68k/sim68000/make/custom/sim68000.cfg b/c/src/lib/libbsp/m68k/sim68000/make/custom/sim68000.cfg new file mode 100644 index 0000000000..c226817aea --- /dev/null +++ b/c/src/lib/libbsp/m68k/sim68000/make/custom/sim68000.cfg @@ -0,0 +1,25 @@ +# +# Config file for a BSVC m68k simulator +# +# $Id$ +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=m68k +RTEMS_CPU_MODEL=m68000 + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = -mcpu=68000 + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY=sim68000 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT) +endef diff --git a/c/src/lib/libbsp/m68k/sim68000/make/custom/simcpu32.cfg b/c/src/lib/libbsp/m68k/sim68000/make/custom/simcpu32.cfg new file mode 100644 index 0000000000..5c0b176943 --- /dev/null +++ b/c/src/lib/libbsp/m68k/sim68000/make/custom/simcpu32.cfg @@ -0,0 +1,25 @@ +# +# Configuration file for a simcpu32 in BSCV +# +# $Id$ +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=m68k +RTEMS_CPU_MODEL=mcpu32 + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = -mcpu=cpu32 + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY=sim68000 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT) +endef -- cgit v1.2.3