Warning, /bsps/sh/gensh4/config/gensh4.cfg is written in an unsupported language. File is not indexed.
0001 #
0002 # gensh4.cfg
0003 #
0004 # default configuration for Hitachi SH7750 board
0005 #
0006 # Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
0007 # Author: Victor V. Vengerov <vvv@oktet.ru>
0008
0009 include $(RTEMS_ROOT)/make/custom/default.cfg
0010
0011 RTEMS_CPU=sh
0012
0013 # This contains the compiler options necessary to select the CPU model
0014 # and (hopefully) optimize for it.
0015 #
0016 # Seems to be good without initialisation FPSCR.
0017 # Also works with SH4_FPSCR_DN bit set.
0018 #CPU_CFLAGS = -m4-single-only -mfmovd -ml
0019 #CPU_CFLAGS = -m4-single -ml
0020 #
0021 # It works with SH4_FPSCR_PR bit set
0022 CPU_CFLAGS = -m4 -ml
0023
0024 # optimize flag: typically -O2
0025 CFLAGS_OPTIMIZE_V = -O2 -g
0026 CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
0027
0028 LDFLAGS = -Wl,--gc-sections