source: rtems/make/custom/gensh4.cfg @ 473ed53

4.104.114.84.95
Last change on this file since 473ed53 was 473ed53, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 15, 2001 at 6:02:09 PM

2001-10-13 Ralf Corsepius <corsepiu@…>

  • custom/gensh4.cfg: Remove START_HW_INIT.
  • custom/simsh4.cfg: Remove START_HW_INIT, RTEMS_CPU_MODEL=sh7750.
  • Property mode set to 100644
File size: 1.6 KB
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#  $Id$
10#
11
12include $(RTEMS_ROOT)/make/custom/default.cfg
13
14RTEMS_CPU=sh
15RTEMS_CPU_MODEL=sh7750
16
17# This is the actual bsp directory used during the build process.
18RTEMS_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.
26#CPU_CFLAGS= -m4-single-only -mfmovd -ml
27#CPU_CFLAGS= -m4-single -ml
28#
29# It works with SH4_FPSCR_PR bit set
30CPU_CFLAGS= -m4 -ml
31
32
33# debug flags:
34CFLAGS_DEBUG_V = -O0 -ggdb
35
36# optimize flag: typically -0, could use -O4 or -fast
37# -O4 is ok for RTEMS
38CFLAGS_OPTIMIZE_V = -O4
39
40#  This section makes the target dependent options file.
41
42define make-target-options
43endef
44
45
46# The following are definitions of make-exe which will work using ld as
47# is currently required.  It is expected that as of gcc 2.8, the end user
48# will be able to override parts of the compilers specs and link using gcc.
49
50ifeq ($(RTEMS_USE_GCC272),yes)
51define make-exe
52        $(LD) $(LDFLAGS) -N -e _start \
53            -T$(PROJECT_RELEASE)/lib/linkcmds\
54            -o $(basename $@).exe \
55            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
56        $(NM) -n $(basename $@).exe > $(basename $@).num
57        $(SIZE) $(basename $@).exe
58endef
59else
60define make-exe
61        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \
62            $(LDLIBS) -o $@ \
63            $(LINK_OBJS) $(LINK_LIBS)
64        $(NM) -n $@ > $(basename $@).num
65        $(SIZE) $@
66endef
67endif
68
69# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.