diff options
Diffstat (limited to 'bsps/sh/gensh2/config/gensh2.cfg')
-rw-r--r-- | bsps/sh/gensh2/config/gensh2.cfg | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bsps/sh/gensh2/config/gensh2.cfg b/bsps/sh/gensh2/config/gensh2.cfg new file mode 100644 index 0000000000..49cf0850d2 --- /dev/null +++ b/bsps/sh/gensh2/config/gensh2.cfg @@ -0,0 +1,21 @@ +# +# gensh2.cfg +# +# default configuration for Hitachi sh1 processors +# +# Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) +# + +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 = -m2 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections |