diff options
Diffstat (limited to 'bsps/sh/gensh1/config/gensh1.cfg')
-rw-r--r-- | bsps/sh/gensh1/config/gensh1.cfg | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bsps/sh/gensh1/config/gensh1.cfg b/bsps/sh/gensh1/config/gensh1.cfg new file mode 100644 index 0000000000..16b61d222b --- /dev/null +++ b/bsps/sh/gensh1/config/gensh1.cfg @@ -0,0 +1,22 @@ +# +# gensh1.cfg +# +# default configuration for Hitachi sh1 processors +# +# Author: 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 = -m1 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections |