From ab7cf7ed7eb9220a230b997436553e431473c5d3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 25 Sep 2008 19:34:21 +0000 Subject: 2008-09-25 Joel Sherrill * Makefile.am, custom/simsh4.cfg: Recognize the the GDB SuperH simulator is just an architectural simulator and does not include devices. Rename existing simulator BSP configurations to simsh1 and simsh2 and add simsh4. * custom/simsh1.cfg, custom/simsh2.cfg: New files. * custom/shsim.cfg, custom/simsh7032.cfg, custom/simsh7045.cfg: Removed. --- make/custom/shsim.cfg | 21 --------------------- make/custom/simsh1.cfg | 23 +++++++++++++++++++++++ make/custom/simsh2.cfg | 23 +++++++++++++++++++++++ make/custom/simsh4.cfg | 21 +++++---------------- make/custom/simsh7032.cfg | 23 ----------------------- make/custom/simsh7045.cfg | 23 ----------------------- 6 files changed, 51 insertions(+), 83 deletions(-) delete mode 100644 make/custom/shsim.cfg create mode 100644 make/custom/simsh1.cfg create mode 100644 make/custom/simsh2.cfg delete mode 100644 make/custom/simsh7032.cfg delete mode 100644 make/custom/simsh7045.cfg (limited to 'make/custom') diff --git a/make/custom/shsim.cfg b/make/custom/shsim.cfg deleted file mode 100644 index 175840b594..0000000000 --- a/make/custom/shsim.cfg +++ /dev/null @@ -1,21 +0,0 @@ -# -# Config file for the sh simulator in gdb -# -# $Id$ -# - -include $(RTEMS_ROOT)/make/custom/default.cfg - -RTEMS_CPU=sh -RTEMS_CPU_MODEL=sh7032 - -# This is the actual bsp directory used during the build process. -RTEMS_BSP_FAMILY=shsim - -# This contains the compiler options necessary to select the CPU model -# and (hopefully) optimize for it. -# -CPU_CFLAGS = -m1 - -# optimize flag: typically -O2 -CFLAGS_OPTIMIZE_V = -O2 -g diff --git a/make/custom/simsh1.cfg b/make/custom/simsh1.cfg new file mode 100644 index 0000000000..2ba4b154cd --- /dev/null +++ b/make/custom/simsh1.cfg @@ -0,0 +1,23 @@ +# +# simsh1.cfg +# +# default configuration for gdb-simulation of Hitachi sh1 processors +# +# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) +# +# $Id$ +# + +include $(RTEMS_ROOT)/make/custom/shsim.cfg + +RTEMS_CPU=sh +RTEMS_CPU_MODEL=shgdb + +# +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -m1 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g diff --git a/make/custom/simsh2.cfg b/make/custom/simsh2.cfg new file mode 100644 index 0000000000..26a441c8ce --- /dev/null +++ b/make/custom/simsh2.cfg @@ -0,0 +1,23 @@ +# +# simsh2.cfg +# +# default configuration for gdb-simulation of Hitachi sh2 processors +# +# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) +# +# $Id$ +# + +include $(RTEMS_ROOT)/make/custom/shsim.cfg + +RTEMS_CPU=sh +RTEMS_CPU_MODEL=shgdb + +# +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -m2 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g diff --git a/make/custom/simsh4.cfg b/make/custom/simsh4.cfg index a01f81906f..106d4a3460 100644 --- a/make/custom/simsh4.cfg +++ b/make/custom/simsh4.cfg @@ -1,10 +1,5 @@ # -# simsh4.cfg -# -# default configuration for Hitachi SH4 architecture simulator -# -# Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia -# Author: Victor V. Vengerov +# Config file for the sh simulator in gdb # # $Id$ # @@ -12,21 +7,15 @@ include $(RTEMS_ROOT)/make/custom/default.cfg RTEMS_CPU=sh -RTEMS_CPU_MODEL=sh7750 +RTEMS_CPU_MODEL=shgdb # This is the actual bsp directory used during the build process. -RTEMS_BSP_FAMILY=simsh4 +RTEMS_BSP_FAMILY=shsim -# # This contains the compiler options necessary to select the CPU model -# and (hopefully) optimize for it. -# -# Seems to be good without initialisation FPSCR. -# Also works with SH4_FPSCR_DN bit set. -#CPU_CFLAGS = -m4-single-only -ml +# and (hopefully) optimize for it. # -# It works with SH4_FPSCR_PR bit set CPU_CFLAGS = -m4 -ml # optimize flag: typically -O2 -CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V = -O2 -g diff --git a/make/custom/simsh7032.cfg b/make/custom/simsh7032.cfg deleted file mode 100644 index 059ec03fe2..0000000000 --- a/make/custom/simsh7032.cfg +++ /dev/null @@ -1,23 +0,0 @@ -# -# simsh7032.cfg -# -# default configuration for gdb-simulation of Hitachi sh7032 processors -# -# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) -# -# $Id$ -# - -include $(RTEMS_ROOT)/make/custom/shsim.cfg - -RTEMS_CPU=sh -RTEMS_CPU_MODEL=sh7032 - -# -# This contains the compiler options necessary to select the CPU model -# and (hopefully) optimize for it. -# -CPU_CFLAGS = -m1 - -# optimize flag: typically -O2 -CFLAGS_OPTIMIZE_V = -O2 -g diff --git a/make/custom/simsh7045.cfg b/make/custom/simsh7045.cfg deleted file mode 100644 index 464b38b44b..0000000000 --- a/make/custom/simsh7045.cfg +++ /dev/null @@ -1,23 +0,0 @@ -# -# simsh7045.cfg -# -# default configuration for gdb-simulation of Hitachi sh7045 processors -# -# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) -# -# $Id$ -# - -include $(RTEMS_ROOT)/make/custom/shsim.cfg - -RTEMS_CPU=sh -RTEMS_CPU_MODEL=sh7045 - -# -# This contains the compiler options necessary to select the CPU model -# and (hopefully) optimize for it. -# -CPU_CFLAGS = -m2 - -# optimize flag: typically -O2 -CFLAGS_OPTIMIZE_V = -O2 -g -- cgit v1.2.3