OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [make/] [custom/] [leon2.cfg] - Blame information for rev 1780

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.