diff options
Diffstat (limited to 'bsps/sh/shsim/config/simsh1.cfg')
-rw-r--r-- | bsps/sh/shsim/config/simsh1.cfg | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bsps/sh/shsim/config/simsh1.cfg b/bsps/sh/shsim/config/simsh1.cfg new file mode 100644 index 0000000000..0f1da687a8 --- /dev/null +++ b/bsps/sh/shsim/config/simsh1.cfg @@ -0,0 +1,18 @@ +# +# simsh1.cfg +# +# default configuration for gdb-simulation of Hitachi sh1 processors + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=sh + +# 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 +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections |