4.104.114.95
Rev | Line | |
---|
[c682b89] | 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 | # $Id$ |
---|
| 10 | # |
---|
| 11 | |
---|
| 12 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
| 13 | |
---|
| 14 | RTEMS_CPU=sh |
---|
| 15 | RTEMS_CPU_MODEL=sh7750 |
---|
| 16 | |
---|
| 17 | # This is the actual bsp directory used during the build process. |
---|
| 18 | RTEMS_BSP_FAMILY=gensh4 |
---|
| 19 | |
---|
| 20 | # |
---|
| 21 | # This contains the compiler options necessary to select the CPU model |
---|
| 22 | # and (hopefully) optimize for it. |
---|
| 23 | # |
---|
| 24 | # Seems to be good without initialisation FPSCR. |
---|
| 25 | # Also works with SH4_FPSCR_DN bit set. |
---|
[b86e0899] | 26 | #CPU_CFLAGS = -m4-single-only -mfmovd -ml |
---|
| 27 | #CPU_CFLAGS = -m4-single -ml |
---|
[c682b89] | 28 | # |
---|
| 29 | # It works with SH4_FPSCR_PR bit set |
---|
[b86e0899] | 30 | CPU_CFLAGS = -m4 -ml |
---|
[c682b89] | 31 | |
---|
[0c642539] | 32 | # optimize flag: typically -O2 |
---|
[7d12e020] | 33 | CFLAGS_OPTIMIZE_V = -O2 -g |
---|
[c682b89] | 34 | |
---|
| 35 | # The following are definitions of make-exe which will work using ld as |
---|
[d2d3482] | 36 | # is currently required. |
---|
[c682b89] | 37 | |
---|
| 38 | define make-exe |
---|
| 39 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \ |
---|
| 40 | $(LDLIBS) -o $@ \ |
---|
| 41 | $(LINK_OBJS) $(LINK_LIBS) |
---|
[e4f49cf] | 42 | $(NM) -g -n $@ > $(basename $@).num |
---|
[c682b89] | 43 | $(SIZE) $@ |
---|
| 44 | endef |
---|
| 45 | |
---|
| 46 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.