source: rtems/make/custom/leon3.cfg @ 6fa5969

Last change on this file since 6fa5969 was 6fa5969, checked in by Joel Sherrill <joel.sherrill@…>, on 10/06/05 at 16:52:18

2005-10-06 Joel Sherrill <joel@…>

  • custom/leon3.cfg: New file.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  Config file for the European Space Agency ERC32 SPARC processor.
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=sparc
10
11RTEMS_CPU_MODEL=leon3
12
13# This is the actual bsp directory used during the build process.
14RTEMS_BSP_FAMILY=leon3
15
16#   The -mflat avoids the use of save/restore instructions.  It has
17#   a negative impact on the performance of RTEMS and should not be used.
18
19# This had been used with gcc-2.7.2
20# CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT)
21#     -mcpu=cypress says to optimize for a Cypress 60x chipset
22#CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
23CPU_CFLAGS = -mcpu=cypress -msoft-float
24
25# optimize flag: typically -0, could use -O4 or -fast
26# -O4 is ok for RTEMS
27CFLAGS_OPTIMIZE_V=-O2
28
29# The following are definitions of make-exe which will work using ld as
30# is currently required.  It is expected that as of gcc 2.8, the end user
31# will be able to override parts of the compilers specs and link using gcc.
32
33define make-exe
34        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
35           $(LINK_OBJS) $(LINK_LIBS)
36        $(NM) -g -n $(basename $@).exe > $(basename $@).num
37        $(SIZE) $(basename $@).exe
38endef
39# Miscellaneous additions go here
40
Note: See TracBrowser for help on using the repository browser.