Changeset 67da219 in rtems


Ignore:
Timestamp:
Jan 4, 2002, 6:08:42 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
c4069d4
Parents:
e4dbf55
Message:

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

  • custom/erc32.cfg: Remove erc32nfp support, GCC272.
  • custom/erc32nfp.cfg: Merge in portions from erc32.cfg.
Location:
make
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    re4dbf55 r67da219  
     12001-12-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * custom/erc32.cfg: Remove erc32nfp support, GCC272.
     4        * custom/erc32nfp.cfg: Merge in portions from erc32.cfg.
     5
    162001-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • make/custom/erc32.cfg

    re4dbf55 r67da219  
    99
    1010RTEMS_CPU=sparc
     11RTEMS_CPU_MODEL=erc32
    1112
    12 ifeq ($(RTEMS_CPU_MODEL),erc32nfp)
    13 MSOFT_FLOAT = -msoft-float
    14 else
    15 RTEMS_CPU_MODEL=erc32
    16 endif
    1713# This is the actual bsp directory used during the build process.
    1814RTEMS_BSP_FAMILY=erc32
    1915
    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 
    23 ifeq ($(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
    26 CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT)
    27 else
    28 #     -mcpu=cypress says to optimize for a Cypress 60x chipset
    29 CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
    30 endif
     16CPU_CFLAGS = -mcpu=cypress
    3117
    3218# optimize flag: typically -0, could use -O4 or -fast
     
    5743# will be able to override parts of the compilers specs and link using gcc.
    5844
    59 ifeq ($(RTEMS_USE_GCC272),yes)
    60 define make-exe
    61         $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
    62             $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
    63         $(NM) -g -n $(basename $@).exe > $(basename $@).num
    64         $(SIZE) $(basename $@).exe
    65 endef
    66 else
    6745define make-exe
    6846        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
     
    7149        $(SIZE) $(basename $@).exe
    7250endef
    73 endif
    7451# Miscellaneous additions go here
    75 
  • make/custom/erc32nfp.cfg

    re4dbf55 r67da219  
    1010RTEMS_CPU_MODEL=erc32nfp
    1111
    12 include $(RTEMS_ROOT)/make/custom/erc32.cfg
     12include $(RTEMS_ROOT)/make/custom/default.cfg
    1313
     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 TracChangeset for help on using the changeset viewer.