5
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 | |
---|
9 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
10 | |
---|
11 | RTEMS_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 |
---|
22 | CPU_CFLAGS = -m4 -ml |
---|
23 | |
---|
24 | # optimize flag: typically -O2 |
---|
25 | CFLAGS_OPTIMIZE_V = -O2 -g |
---|
26 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
27 | |
---|
28 | LDFLAGS = -Wl,--gc-sections |
---|
Note: See
TracBrowser
for help on using the repository browser.