summaryrefslogtreecommitdiffstats
path: root/make/custom/simsh4.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-25 19:34:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-25 19:34:21 +0000
commitab7cf7ed7eb9220a230b997436553e431473c5d3 (patch)
tree8601903d3cb77285493966c47ac85c95e5ca475d /make/custom/simsh4.cfg
parent2008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-ab7cf7ed7eb9220a230b997436553e431473c5d3.tar.bz2
2008-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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.
Diffstat (limited to 'make/custom/simsh4.cfg')
-rw-r--r--make/custom/simsh4.cfg21
1 files changed, 5 insertions, 16 deletions
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 <vvv@oktet.ru>
+# 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