summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/shsim.cfg21
-rw-r--r--make/custom/simsh1.cfg (renamed from make/custom/simsh7032.cfg)6
-rw-r--r--make/custom/simsh2.cfg (renamed from make/custom/simsh7045.cfg)6
-rw-r--r--make/custom/simsh4.cfg21
4 files changed, 11 insertions, 43 deletions
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/simsh7032.cfg b/make/custom/simsh1.cfg
index 059ec03fe2..2ba4b154cd 100644
--- a/make/custom/simsh7032.cfg
+++ b/make/custom/simsh1.cfg
@@ -1,7 +1,7 @@
#
-# simsh7032.cfg
+# simsh1.cfg
#
-# default configuration for gdb-simulation of Hitachi sh7032 processors
+# default configuration for gdb-simulation of Hitachi sh1 processors
#
# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
#
@@ -11,7 +11,7 @@
include $(RTEMS_ROOT)/make/custom/shsim.cfg
RTEMS_CPU=sh
-RTEMS_CPU_MODEL=sh7032
+RTEMS_CPU_MODEL=shgdb
#
# This contains the compiler options necessary to select the CPU model
diff --git a/make/custom/simsh7045.cfg b/make/custom/simsh2.cfg
index 464b38b44b..26a441c8ce 100644
--- a/make/custom/simsh7045.cfg
+++ b/make/custom/simsh2.cfg
@@ -1,7 +1,7 @@
#
-# simsh7045.cfg
+# simsh2.cfg
#
-# default configuration for gdb-simulation of Hitachi sh7045 processors
+# default configuration for gdb-simulation of Hitachi sh2 processors
#
# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
#
@@ -11,7 +11,7 @@
include $(RTEMS_ROOT)/make/custom/shsim.cfg
RTEMS_CPU=sh
-RTEMS_CPU_MODEL=sh7045
+RTEMS_CPU_MODEL=shgdb
#
# This contains the compiler options necessary to select the CPU model
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