source: rtems/make/custom/erc32.cfg @ 67da219

4.104.114.84.95
Last change on this file since 67da219 was 67da219, checked in by Joel Sherrill <joel.sherrill@…>, on 01/04/02 at 18:08:42

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

  • custom/erc32.cfg: Remove erc32nfp support, GCC272.
  • custom/erc32nfp.cfg: Merge in portions from erc32.cfg.
  • Property mode set to 100644
File size: 1.5 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
11RTEMS_CPU_MODEL=erc32
12
13# This is the actual bsp directory used during the build process.
14RTEMS_BSP_FAMILY=erc32
15
16CPU_CFLAGS = -mcpu=cypress
17
18# optimize flag: typically -0, could use -O4 or -fast
19# -O4 is ok for RTEMS
20CFLAGS_OPTIMIZE_V=-O4
21
22#  This makes the target dependent options file
23
24#  NO_TABLE_MOVE (SPARC PORT)
25#     do not have a second trap table -- use the BSP's
26#
27#  FPU_REVB (erc32_bsp)
28#     If defined, enables work-around for bug 3.14 in FPU rev.B or rev.C
29#
30#  CPU_U32_FIX (all) libchip/network/sonic.*
31#     Needed to align received TCP/IP packets since SPARC does not
32#     support unaligned memory access.
33#
34
35define make-target-options
36        @echo "#define NO_TABLE_MOVE 1"                            >>$@
37        @echo "/* #define FPU_REVB 1 */"                           >>$@
38        @echo "#define CPU_U32_FIX 1"                              >>$@
39endef
40
41# The following are definitions of make-exe which will work using ld as
42# is currently required.  It is expected that as of gcc 2.8, the end user
43# will be able to override parts of the compilers specs and link using gcc.
44
45define make-exe
46        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
47            $(LINK_OBJS) $(LINK_LIBS)
48        $(NM) -g -n $(basename $@).exe > $(basename $@).num
49        $(SIZE) $(basename $@).exe
50endef
51# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.