source: rtems/c/src/lib/libbsp/sh/gensh4/make/custom/gensh4.cfg @ f2969b5

5
Last change on this file since f2969b5 was f2969b5, checked in by Sebastian Huber <sebastian.huber@…>, on 12/08/17 at 12:37:19

bsp/gensh4: Move libcpu files to BSP

Update #3254.

  • Property mode set to 100644
File size: 705 bytes
Line 
1#
2# gensh4.cfg
3#
4# default configuration for Hitachi SH7750 board
5#
6# Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
7# Author: Victor V. Vengerov <vvv@oktet.ru>
8
9include $(RTEMS_ROOT)/make/custom/default.cfg
10
11RTEMS_CPU=sh
12
13#  This contains the compiler options necessary to select the CPU model
14#  and (hopefully) optimize for it.
15#
16# Seems to be good without initialisation FPSCR.
17# Also works with SH4_FPSCR_DN bit set.
18#CPU_CFLAGS = -m4-single-only -mfmovd -ml
19#CPU_CFLAGS = -m4-single -ml
20#
21# It works with SH4_FPSCR_PR bit set
22CPU_CFLAGS = -m4 -ml
23
24# optimize flag: typically -O2
25CFLAGS_OPTIMIZE_V = -O2 -g
26CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
27
28LDFLAGS = -Wl,--gc-sections
Note: See TracBrowser for help on using the repository browser.