source: rtems/make/custom/erc32.cfg @ 206a0b38

4.104.114.84.95
Last change on this file since 206a0b38 was 206a0b38, checked in by Joel Sherrill <joel.sherrill@…>, on 06/19/01 at 14:27:43

2001-06-19 Ralf Corsepius <corsepiu@…>

custom/Cygwin-posix.cfg: Remove -USTRICT_ANSI, make-target-options.
custom/FreeBSD-posix.cfg: Remove make-target-options.
custom/HPUX9-posix.cfg: Dito.
custom/Linux-posix.cfg: Dito.
custom/Solaris-posix.cfg: Dito.
custom/arm_bare_bsp.cfg: Dito.
custom/armulator.cfg: Dito.
custom/erc32.cfg: Remove CONSOLE_USE_POLLED, CONSOLE_USE_INTERRUPTS.
custom/i386ex.cfg: Remove make-target-options.
custom/i960sim.cfg: Remove make-target-options.
custom/mvme2307.cfg: Remove CONSOLE_USE_POLLED, CONSOLE_USE_INTERRUPTS.
custom/rxgen960.cfg: Remove make-target-options, cleanup comments.
custom/score603e.cfg: Remove CONSOLE_USE_POLLED, CONSOLE_USE_INTERRUPTS.
custom/vegaplus.cfg: Remove make-target-options.

  • Property mode set to 100644
File size: 3.0 KB
Line 
1#
2#  Config file for the European Space Agency ERC32
3#  a V7 SPARC processor derived from the Cypress 601/602 set.
4#
5#  $Id$
6#
7
8include $(RTEMS_ROOT)/make/custom/default.cfg
9
10RTEMS_CPU=sparc
11
12ifeq ($(RTEMS_CPU_MODEL),erc32nfp)
13MSOFT_FLOAT = -msoft-float
14else
15RTEMS_CPU_MODEL=erc32
16endif
17# This is the actual bsp directory used during the build process.
18RTEMS_BSP_FAMILY=erc32
19
20#   The -mflat avoids the use of save/restore instructions.  It has
21#   a negative impact on the performance of RTEMS and should not be used.
22
23ifeq ($(RTEMS_USE_GCC272),yes)
24#     -mno-v8 says not to use v8 level instructions.  i.e. use v7 only
25# FIXME: This known not to work with gcc's >= gcc-2.95
26CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT)
27else
28#     -mcpu=cypress says to optimize for a Cypress 60x chipset
29CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
30endif
31
32# optimize flag: typically -0, could use -O4 or -fast
33# -O4 is ok for RTEMS
34CFLAGS_OPTIMIZE_V=-O4
35
36#  This makes the target dependent options file
37
38#  NO_TABLE_MOVE (SPARC PORT)
39#     do not have a second trap table -- use the BSP's
40#
41#  CONSOLE_USE_INTERRUPTS (erc32_bsp)
42#     The erc32 console driver can operate in either polled or interrupt mode.
43#     Under the simulator (especially when FAST_UART is defined), polled seems
44#     to operate better.  It is common for a task to print a line (like the
45#     end of test message) and then exit.  In this case, the program returns
46#     control to the simulator command line before the program has even queued
47#     the output to the uart.  Thus sis has no chance of getting the data out.
48#
49#  SIMSPARC_FAST_IDLE (erc32_bsp)
50#     If defined, speed up the clock ticks while the idle task is running so
51#     time spent in the idle task is minimized.  This significantly reduces
52#     the wall time required to execute the RTEMS test suites.
53#
54#  FPU_REVB (erc32_bsp)
55#     If defined, enables work-around for bug 3.14 in FPU rev.B or rev.C
56#
57#  CPU_U32_FIX (all)
58#     Needed to align received TCP/IP packets since SPARC does not
59#     support unaligned memory access.
60#
61
62define make-target-options
63        @echo "#define NO_TABLE_MOVE 1"                            >>$@
64        @echo "/* #define SIMSPARC_FAST_IDLE 1 */"                 >>$@
65        @echo "/* #define FPU_REVB 1 */"                           >>$@
66        @echo "#define CPU_U32_FIX 1"                              >>$@
67endef
68
69# The following are definitions of make-exe which will work using ld as
70# is currently required.  It is expected that as of gcc 2.8, the end user
71# will be able to override parts of the compilers specs and link using gcc.
72
73ifeq ($(RTEMS_USE_GCC272),yes)
74define make-exe
75        $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
76            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
77        $(NM) -g -n $(basename $@).exe > $(basename $@).num
78        $(SIZE) $(basename $@).exe
79endef
80else
81define make-exe
82        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
83            $(LINK_OBJS) $(LINK_LIBS)
84        $(NM) -g -n $(basename $@).exe > $(basename $@).num
85        $(SIZE) $(basename $@).exe
86endef
87endif
88# Miscellaneous additions go here
89
Note: See TracBrowser for help on using the repository browser.