source: rtems/make/custom/leon2.cfg @ c2b12f2

4.104.114.84.95
Last change on this file since c2b12f2 was c2b12f2, checked in by Joel Sherrill <joel.sherrill@…>, on 12/18/01 at 14:11:02

2001-12-09 Ralf Corsepius <corsepiu@…>

  • custom/armulator.cfg: Remove make-target-options.
  • custom/erc32.cfg: Remove CONSOLE_USE_INTERRUPTS, SIMSPARC_FAST_IDLE (now in erc32/configure.ac).
  • custom/leon2.cfg: Remove CONSOLE_USE_INTERRUPTS, SIMSPARC_FAST_IDLE (now in leon2/configure.ac). Remove CONSOLE_USE_POLLED (Unused).
  • custom/mvme167.cfg: Remove CD2401_INT_LEVEL, CD2401_IO_MODE, CD2401_USE_TERMIOS (now in mvme167/configure.ac).
  • custom/mvme162.cfg: Remove references to mvme162lx. Abandon gcc272. Remove make-target-options.
  • custom/mvme162lx.cfg: Add portions formerly in mvme162.cfg.
  • Property mode set to 100644
File size: 2.0 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
11ifeq ($(RTEMS_CPU_MODEL),leon1)
12MSOFT_FLOAT = -msoft-float
13else
14RTEMS_CPU_MODEL=leon2
15endif
16# This is the actual bsp directory used during the build process.
17RTEMS_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
22ifeq ($(RTEMS_USE_GCC272),yes)
23#     -mno-v8 says not to use v8 level instructions.  i.e. use v7 only
24CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT)
25else
26#     -mcpu=cypress says to optimize for a Cypress 60x chipset
27CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
28endif
29
30# optimize flag: typically -0, could use -O4 or -fast
31# -O4 is ok for RTEMS
32CFLAGS_OPTIMIZE_V=-O4
33
34#  This makes the target dependent options file
35
36#  NO_TABLE_MOVE (SPARC PORT)
37#     do not have a second trap table -- use the BSP's
38#
39#  CPU_U32_FIX (all)
40#     Needed to align received TCP/IP packets since SPARC does not
41#     support unaligned memory access.
42#
43
44define make-target-options
45        @echo "#define NO_TABLE_MOVE 1"                            >>$@
46        @echo "#define CPU_U32_FIX 1"                              >>$@
47endef
48
49
50
51# The following are definitions of make-exe which will work using ld as
52# is currently required.  It is expected that as of gcc 2.8, the end user
53# will be able to override parts of the compilers specs and link using gcc.
54
55ifeq ($(RTEMS_USE_GCC272),yes)
56define make-exe
57        $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
58            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
59        $(NM) -g -n $(basename $@).exe > $(basename $@).num
60        $(SIZE) $(basename $@).exe
61endef
62else
63define make-exe
64        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
65            $(LINK_OBJS) $(LINK_LIBS)
66        $(NM) -g -n $(basename $@).exe > $(basename $@).num
67        $(SIZE) $(basename $@).exe
68endef
69endif
70# Miscellaneous additions go here
71
Note: See TracBrowser for help on using the repository browser.