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