Changeset 32fe996 in rtems


Ignore:
Timestamp:
Jan 18, 2007, 8:41:06 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Children:
0a4d609
Parents:
ea7e978d
Message:

Backport various changes from CVS-HEAD.

Location:
make/custom
Files:
71 edited

Legend:

Unmodified
Added
Removed
  • make/custom/Linux-posix.cfg

    rea7e978d r32fe996  
    1515include $(RTEMS_ROOT)/make/custom/default.cfg
    1616
     17# This contains the compiler options necessary to select the CPU model
     18# and (hopefully) optimize for it.
    1719CPU_CFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE
    1820
  • make/custom/Solaris-posix.cfg

    rea7e978d r32fe996  
    1515include $(RTEMS_ROOT)/make/custom/default.cfg
    1616
     17#  This contains the compiler options necessary to select the CPU model
     18#  and (hopefully) optimize for it.
    1719CPU_CFLAGS += -Dsolaris2 -D__EXTENSIONS__
    1820
  • make/custom/armulator.cfg

    rea7e978d r32fe996  
    2020
    2121# optimize flag: typically -O2
    22 CFLAGS_OPTIMIZE_V=-O4
     22CFLAGS_OPTIMIZE_V = -O2
    2323
    2424define make-exe
  • make/custom/av5282.cfg

    rea7e978d r32fe996  
    22#  Config file for the uC5282 BSP
    33#
    4 #Based on:
    5 #  $Id$
    6 #
    7 # A0.01 Initial Version                   BDS   07/26/01
    8 #
    9 
    104
    115RTEMS_CPU=m68k
     
    2317
    2418# optimize flag: typically -O2
    25 CFLAGS_OPTIMIZE_V= -O4 -fomit-frame-pointer
     19CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2620
    2721ifndef MTARGET
     
    3125
    3226# The following are definitions of make-exe which will work using ld as
    33 # is currently required.  It is expected that as of gcc 2.8, the end user
    34 # will be able to override parts of the compilers specs and link using gcc.
     27# is currently required.
    3528
    3629
  • make/custom/bare.cfg

    rea7e978d r32fe996  
    1212RTEMS_CPU_MODEL=$(BARE_CPU_MODEL)
    1313
    14 CPU_CFLAGS=$(BARE_CPU_CFLAGS)
     14# This contains the compiler options necessary to select the CPU model
     15# and (hopefully) optimize for it.
     16CPU_CFLAGS =$(BARE_CPU_CFLAGS)
    1517
    1618include $(RTEMS_ROOT)/make/custom/default.cfg
    1719
    1820# optimize flag: typically -O2
    19 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     21CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2022
    2123# this target has no start file
     
    2325
    2426# The following are definitions of make-exe which will work using ld as
    25 # is currently required.  It is expected that as of gcc 2.8, the end user
    26 # will be able to override parts of the compilers specs and link using gcc.
     27# is currently required.
    2728
    2829define make-exe
  • make/custom/brs5l.cfg

    rea7e978d r32fe996  
    22#  Config file for customer specific MPC5200 board
    33#
    4 brs5l.cfg,v 1.8 2005/03/03 13:16:01 ralf Exp
     4$Id$
    55#
    66
  • make/custom/csb336.cfg

    rea7e978d r32fe996  
    1717#
    1818CPU_CFLAGS = -mcpu=arm920 -mstructure-size-boundary=8
    19 #CPU_CFLAGS += -msoft-float
    2019
    2120# optimize flag: typically -O2
    22 CFLAGS_OPTIMIZE_V=-O3
    23 #CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
     21CFLAGS_OPTIMIZE_V = -O2
    2422
    2523define make-exe
  • make/custom/csb337.cfg

    rea7e978d r32fe996  
    1919
    2020# optimize flag: typically -O2
    21 CFLAGS_OPTIMIZE_V=-O2 -g
     21CFLAGS_OPTIMIZE_V = -O2 -g
    2222
    2323
  • make/custom/csb350.cfg

    rea7e978d r32fe996  
    1717#
    1818# gcc 3.1 and newer
    19 CPU_CFLAGS=-mips32 -G0 -msoft-float
     19CPU_CFLAGS = -mips32 -G0 -msoft-float
    2020
    2121# optimize flag: typically -O2
    22 CFLAGS_OPTIMIZE_V=-O2 -g
     22CFLAGS_OPTIMIZE_V = -O2 -g
    2323
    2424# The following are definitions of make-exe which will work using ld as
    25 # is currently required.  It is expected that as of gcc 2.8, the end user
    26 # will be able to override parts of the compilers specs and link using gcc.
     25# is currently required.
    2726
    2827define make-exe
  • make/custom/csb360.cfg

    rea7e978d r32fe996  
    1515RTEMS_BSP_FAMILY=csb360
    1616
    17 #
    18 # You must use versions of gcc and gas that support the -m5200 option.
    19 #
     17# This contains the compiler options necessary to select the CPU model
     18# and (hopefully) optimize for it.
    2019CPU_CFLAGS = -m5200
    2120
    22 # optimize flag: typically -0, could use -O4 or -fast
    23 # It looks like any optimization level > 0 causes problems
    24 # with gcc-3.4.0. Until they are fixed, we'll use -O0
    25 CFLAGS_OPTIMIZE_V=-O0 -fomit-frame-pointer
     21# optimize flag: typically -O2
     22CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2623
    2724# The following are definitions of make-exe which will work using ld as
    28 # is currently required.  It is expected that as of gcc 2.8, the end user
    29 # will be able to override parts of the compilers specs and link using gcc.
     25# is currently required.
    3026
    3127define make-exe
  • make/custom/dmv152.cfg

    rea7e978d r32fe996  
    2121
    2222# optimize flag: typically -O2
    23 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     23CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2424
    2525# Here is the rule to actually build a $(ARCH)/foo.exe
     
    2828
    2929# The following are definitions of make-exe which will work using ld as
    30 # is currently required.  It is expected that as of gcc 2.8, the end user
    31 # will be able to override parts of the compilers specs and link using gcc.
     30# is currently required.
    3231
    3332define make-exe
  • make/custom/edb7312.cfg

    rea7e978d r32fe996  
    1717#
    1818CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -mstructure-size-boundary=8
    19 # CPU_CFLAGS += -msoft-float
    2019
    2120# optimize flag: typically -O2
    22 CFLAGS_OPTIMIZE_V=-O3
    23 #CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
     21CFLAGS_OPTIMIZE_V = -O2
    2422
    2523define make-exe
  • make/custom/ep1a.cfg

    rea7e978d r32fe996  
    1818
    1919# optimize flag: typically -O2
    20 # NOTE: some level of -O may be actually required by inline assembler
    21 #CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    22 CFLAGS_OPTIMIZE_V = -O4
     20CFLAGS_OPTIMIZE_V = -O2
    2321
    2422define make-exe
  • make/custom/erc32.cfg

    rea7e978d r32fe996  
    1414RTEMS_BSP_FAMILY=erc32
    1515
     16#  This contains the compiler options necessary to select the CPU model
     17#  and (hopefully) optimize for it.
    1618CPU_CFLAGS = -mcpu=cypress
    1719
    1820# optimize flag: typically -O2
    19 CFLAGS_OPTIMIZE_V=-O4
     21CFLAGS_OPTIMIZE_V = -O2
    2022
    2123# The following are definitions of make-exe which will work using ld as
    22 # is currently required.  It is expected that as of gcc 2.8, the end user
    23 # will be able to override parts of the compilers specs and link using gcc.
     24# is currently required.
    2425
    2526define make-exe
  • make/custom/erc32nfp.cfg

    rea7e978d r32fe996  
    1515RTEMS_BSP_FAMILY=erc32
    1616
     17# This contains the compiler options necessary to select the CPU model
     18# and (hopefully) optimize for it.
    1719CPU_CFLAGS = -mcpu=cypress -msoft-float
    1820
    1921# optimize flag: typically -O2
    20 CFLAGS_OPTIMIZE_V=-O4
     22CFLAGS_OPTIMIZE_V = -O2
    2123
    2224# The following are definitions of make-exe which will work using ld as
    23 # is currently required.  It is expected that as of gcc 2.8, the end user
    24 # will be able to override parts of the compilers specs and link using gcc.
     25# is currently required.
    2526
    2627define make-exe
  • make/custom/gba.cfg

    rea7e978d r32fe996  
    2020
    2121# optimize flag: typically -O2
    22 CFLAGS_OPTIMIZE_V=-O3
    23 CXXFLAGS_OPTIMIZE_V=-O3
     22CFLAGS_OPTIMIZE_V = -O2
    2423
    2524define make-exe
  • make/custom/gen405.cfg

    rea7e978d r32fe996  
    2626
    2727# optimize flag: typically -O2
    28 # NOTE: some level of -O may be actually required by inline assembler
    29 CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -g
     28CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions -g
    3029
    3130
     
    3433
    3534# The following are definitions of make-exe which will work using ld as
    36 # is currently required.  It is expected that as of gcc 2.8, the end user
    37 # will be able to override parts of the compilers specs and link using gcc.
     35# is currently required.
    3836
    3937define make-exe
  • make/custom/gen5200.cfg

    rea7e978d r32fe996  
    2020
    2121# optimize flag: typically -O2
    22 # NOTE: some level of -O may be actually required by inline assembler
    23 CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -g
     22CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions -g
    2423
    2524# The following are definitions of make-exe which will work using ld as
    26 # is currently required.  It is expected that as of gcc 2.8, the end user
    27 # will be able to override parts of the compilers specs and link using gcc.
     25# is currently required.
    2826
    2927define make-exe
  • make/custom/gen68302.cfg

    rea7e978d r32fe996  
    1616#  This contains the compiler options necessary to select the CPU model
    1717#  and (hopefully) optimize for it.
    18 #
    19 # 68000+softfloat results in gcc 2.95.2 giving default libraries.
    20 # CPU_CFLAGS = -m68302 -msoft-float
    2118CPU_CFLAGS = -m68302
    2219
    2320# optimize flag: typically -O2
    24 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     21CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2522
    2623# The following are definitions of make-exe which will work using ld as
    27 # is currently required.  It is expected that as of gcc 2.8, the end user
    28 # will be able to override parts of the compilers specs and link using gcc.
     24# is currently required.
    2925
    3026define make-exe
  • make/custom/gen68340.cfg

    rea7e978d r32fe996  
    1414RTEMS_BSP_FAMILY=gen68340
    1515
     16# This contains the compiler options necessary to select the CPU model
     17# and (hopefully) optimize for it.
    1618CPU_CFLAGS = -mcpu32
    1719
    1820# optimize flag: typically -O2
    19 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     21CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2022
    2123# The following are definitions of make-exe which will work using ld as
    22 # is currently required.  It is expected that as of gcc 2.8, the end user
    23 # will be able to override parts of the compilers specs and link using gcc.
     24# is currently required.
    2425
    2526define make-exe
     
    2930        $(SIZE) $@
    3031endef
    31 #        if you want to make a prom image
    32 #        m68k-rtems-objcopy --adjust-section-vma \
    33 #         .data=`m68k-rtems-objdump --section-headers $(basename $@).exe | \
    34 #         awk 'function h2d(x) { x=toupper(x); digits=length(x); s=0 ; \
    35 #              for (p=digits; p>0; p--) \
    36 #              s += (16^(p-1)) * ( index("0123456789ABCDEF",\
    37 #               substr(x,1+digits-p,1)) -1 );\
    38 #               return s } ;\
    39 #               /\.text/ { base = $$4 ; size = $$3 };\
    40 #               END { printf("0x%x", h2d(base) + h2d(size)) }'\
    41 #              ` $(basename $@).exe
    42 #        if you want to convert it to ieee
    43 #        m68k-rtems-objcopy --output-target=ieee --debugging \
    44 #              $(basename $@).exe $(basename $@).ieee
    4532
    4633# Miscellaneous additions go here
  • make/custom/gen68360.cfg

    rea7e978d r32fe996  
    1818RTEMS_BSP_FAMILY=gen68360
    1919
    20 #
    21 # You must use versions of gcc and gas that support the -mcpu32 option.
    22 #
     20# This contains the compiler options necessary to select the CPU model
     21# and (hopefully) optimize for it.
    2322ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
    24 CPU_CFLAGS= -m68040
     23CPU_CFLAGS = -m68040
    2524else
    2625CPU_CFLAGS = -mcpu32
     
    2827
    2928# optimize flag: typically -O2
    30 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     29CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    3130
    3231# The following are definitions of make-exe which will work using ld as
    33 # is currently required.  It is expected that as of gcc 2.8, the end user
    34 # will be able to override parts of the compilers specs and link using gcc.
     32# is currently required.
    3533
    3634define make-exe
  • make/custom/genmongoosev.cfg

    rea7e978d r32fe996  
    1616#  and (hopefully) optimize for it.
    1717#
    18 CPU_CFLAGS=-mips1 -G0
     18CPU_CFLAGS = -mips1 -G0
    1919
    2020# optimize flag: typically -O2
    21 CFLAGS_OPTIMIZE_V=-O2 -g
     21CFLAGS_OPTIMIZE_V = -O2 -g
    2222
    2323# The following are definitions of make-exe which will work using ld as
    24 # is currently required.  It is expected that as of gcc 2.8, the end user
    25 # will be able to override parts of the compilers specs and link using gcc.
     24# is currently required.
    2625
    2726define make-exe
  • make/custom/gensh1.cfg

    rea7e978d r32fe996  
    2121#  and (hopefully) optimize for it.
    2222#
    23 CPU_CFLAGS=-m1
     23CPU_CFLAGS = -m1
    2424
    2525# optimize flag: typically -O2
    26 CFLAGS_OPTIMIZE_V = -O4
     26CFLAGS_OPTIMIZE_V = -O2
    2727
    2828# The following are definitions of make-exe which will work using ld as
    29 # is currently required.  It is expected that as of gcc 2.8, the end user
    30 # will be able to override parts of the compilers specs and link using gcc.
     29# is currently required.
    3130
    3231define make-exe
  • make/custom/gensh2.cfg

    rea7e978d r32fe996  
    2121#  and (hopefully) optimize for it.
    2222#
    23 CPU_CFLAGS= -m2
     23CPU_CFLAGS = -m2
    2424
    2525# optimize flag: typically -O2
    26 CFLAGS_OPTIMIZE_V = -O4
     26CFLAGS_OPTIMIZE_V = -O2
    2727
    2828# The following are definitions of make-exe which will work using ld as
    29 # is currently required.  It is expected that as of gcc 2.8, the end user
    30 # will be able to override parts of the compilers specs and link using gcc.
     29# is currently required.
    3130
    3231define make-exe
  • make/custom/gensh4.cfg

    rea7e978d r32fe996  
    2424# Seems to be good without initialisation FPSCR.
    2525# Also works with SH4_FPSCR_DN bit set.
    26 #CPU_CFLAGS= -m4-single-only -mfmovd -ml
    27 #CPU_CFLAGS= -m4-single -ml
     26#CPU_CFLAGS = -m4-single-only -mfmovd -ml
     27#CPU_CFLAGS = -m4-single -ml
    2828#
    2929# It works with SH4_FPSCR_PR bit set
    30 CPU_CFLAGS= -m4 -ml
     30CPU_CFLAGS = -m4 -ml
    3131
    3232# optimize flag: typically -O2
    33 CFLAGS_OPTIMIZE_V = -O4
     33CFLAGS_OPTIMIZE_V = -O2
    3434
    3535# The following are definitions of make-exe which will work using ld as
    36 # is currently required.  It is expected that as of gcc 2.8, the end user
    37 # will be able to override parts of the compilers specs and link using gcc.
     36# is currently required.
    3837
    3938define make-exe
  • make/custom/gp32.cfg

    rea7e978d r32fe996  
    1616#  and (hopefully) optimize for it.
    1717#
    18 CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32 -O3
     18CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32
    1919
    2020# optimize flag: typically -O2
    21 CFLAGS_OPTIMIZE_V=
     21CFLAGS_OPTIMIZE_V = -O2
    2222
    2323define make-exe
  • make/custom/h8sim.cfg

    rea7e978d r32fe996  
    1616#  and (hopefully) optimize for it.
    1717#
    18 CPU_CFLAGS=-mh -mint32
     18CPU_CFLAGS = -mh -mint32
    1919
    2020# optimize flag: typically -O2
    21 # CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
    22 CFLAGS_OPTIMIZE_V=-O0
     21CFLAGS_OPTIMIZE_V = -O2
    2322
    2423# The following are definitions of make-exe which will work using ld as
    25 # is currently required.  It is expected that as of gcc 2.8, the end user
    26 # will be able to override parts of the compilers specs and link using gcc.
     24# is currently required.
    2725
    2826define make-exe
  • make/custom/helas403.cfg

    rea7e978d r32fe996  
    2020
    2121# optimize flag: typically -O2
    22 # NOTE: some level of -O may be actually required by inline assembler
    23 CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
     22CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions
    2423
    2524# No start file
     
    2726
    2827# The following are definitions of make-exe which will work using ld as
    29 # is currently required.  It is expected that as of gcc 2.8, the end user
    30 # will be able to override parts of the compilers specs and link using gcc.
     28# is currently required.
    3129
    3230define make-exe
  • make/custom/hurricane.cfg

    rea7e978d r32fe996  
    1717
    1818# optimize flag: typically -O2
    19 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     19CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2020
    2121# The following are definitions of make-exe which will work using ld as
    22 # is currently required.  It is expected that as of gcc 2.8, the end user
    23 # will be able to override parts of the compilers specs and link using gcc.
     22# is currently required.
    2423
    2524define make-exe
  • make/custom/i386ex.cfg

    rea7e978d r32fe996  
    1919
    2020# optimize flag: typically -O2
    21 CFLAGS_OPTIMIZE_V=-O4
     21CFLAGS_OPTIMIZE_V = -O2
    2222
    2323#  Something like this should produce a map file but this does not work.
     
    3030
    3131# The following are definitions of make-exe which will work using ld as
    32 # is currently required.  It is expected that as of gcc 2.8, the end user
    33 # will be able to override parts of the compilers specs and link using gcc.
     32# is currently required.
    3433
    3534define make-exe
  • make/custom/idp.cfg

    rea7e978d r32fe996  
    1919
    2020# optimize flag: typically -O2
    21 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     21CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2222
    2323# The following are definitions of make-exe which will work using ld as
    24 # is currently required.  It is expected that as of gcc 2.8, the end user
    25 # will be able to override parts of the compilers specs and link using gcc.
     24# is currently required.
    2625
    2726define make-exe
  • make/custom/jmr3904.cfg

    rea7e978d r32fe996  
    1717#
    1818# gcc 2.95.x and 3.0
    19 #CPU_CFLAGS=-m3900 -G0
     19#CPU_CFLAGS = -m3900 -G0
    2020# gcc 3.1 and newer
    21 CPU_CFLAGS=-march=r3900 -Wa,-xgot -G0
     21CPU_CFLAGS = -march=r3900 -Wa,-xgot -G0
    2222
    2323# optimize flag: typically -O2
    24 CFLAGS_OPTIMIZE_V=-O2
     24CFLAGS_OPTIMIZE_V = -O2
    2525
    2626# The following are definitions of make-exe which will work using ld as
    27 # is currently required.  It is expected that as of gcc 2.8, the end user
    28 # will be able to override parts of the compilers specs and link using gcc.
     27# is currently required.
    2928
    3029define make-exe
  • make/custom/leon2.cfg

    rea7e978d r32fe996  
    1212RTEMS_BSP_FAMILY=leon2
    1313
    14 #   The -mflat avoids the use of save/restore instructions.  It has
    15 #   a negative impact on the performance of RTEMS and should not be used.
    16 
    17 # This had been used with gcc-2.7.2
    18 # CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT)
    19 #     -mcpu=cypress says to optimize for a Cypress 60x chipset
    20 #CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
     14#  This contains the compiler options necessary to select the CPU model
     15#  and (hopefully) optimize for it.
    2116CPU_CFLAGS = -mcpu=cypress -msoft-float
    2217
    2318# optimize flag: typically -O2
    24 CFLAGS_OPTIMIZE_V=-O2
     19CFLAGS_OPTIMIZE_V = -O2
    2520
    2621# The following are definitions of make-exe which will work using ld as
    27 # is currently required.  It is expected that as of gcc 2.8, the end user
    28 # will be able to override parts of the compilers specs and link using gcc.
     22# is currently required.
    2923
    3024define make-exe
     
    3529endef
    3630# Miscellaneous additions go here
    37 
  • make/custom/leon3.cfg

    rea7e978d r32fe996  
    1414RTEMS_BSP_FAMILY=leon3
    1515
    16 #   The -mflat avoids the use of save/restore instructions.  It has
    17 #   a negative impact on the performance of RTEMS and should not be used.
    18 
    19 # This had been used with gcc-2.7.2
    20 # CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT)
    21 #     -mcpu=cypress says to optimize for a Cypress 60x chipset
    22 #CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
     16#  This contains the compiler options necessary to select the CPU model
     17#  and (hopefully) optimize for it.
    2318CPU_CFLAGS = -mcpu=cypress -msoft-float
    2419
    2520# optimize flag: typically -O2
    26 CFLAGS_OPTIMIZE_V=-O2
     21CFLAGS_OPTIMIZE_V = -O2
    2722
    2823# The following are definitions of make-exe which will work using ld as
    29 # is currently required.  It is expected that as of gcc 2.8, the end user
    30 # will be able to override parts of the compilers specs and link using gcc.
     24# is currently required.
    3125
    3226define make-exe
  • make/custom/mbx821_002b.cfg

    rea7e978d r32fe996  
    1313include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg
    1414
    15 CFLAGS_OPTIMIZE_V=-O2
     15# optimize flag: typically -O2
     16CFLAGS_OPTIMIZE_V = -O2
  • make/custom/mbx8xx.cfg

    rea7e978d r32fe996  
    4747
    4848
    49 # optimize flag: typically -O, could use -O4 or -fast
    50 # NOTE: some level of -O may be actually required by inline assembler
    51 # CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    52 CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    53 CXXFLAGS_OPTIMIZE_V=-O4
     49# optimize flag: typically -O2
     50CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions
    5451
    5552define make-exe
  • make/custom/mcf5206elite.cfg

    rea7e978d r32fe996  
    1515RTEMS_BSP_FAMILY=mcf5206elite
    1616
    17 #
    18 # You must use versions of gcc and gas that support the -m5200 option.
    19 #
     17#  This contains the compiler options necessary to select the CPU model
     18#  and (hopefully) optimize for it.
    2019CPU_CFLAGS = -m5200
    2120
    22 # optimize flag: typically -0, could use -O4 or -fast
    23 # -O4 is ok for RTEMS
    24 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     21# optimize flag: typically -O2
     22CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2523
    2624# The following are definitions of make-exe which will work using ld as
    27 # is currently required.  It is expected that as of gcc 2.8, the end user
    28 # will be able to override parts of the compilers specs and link using gcc.
     25# is currently required.
    2926
    3027define make-exe
  • make/custom/mcf5235.cfg

    rea7e978d r32fe996  
    2222
    2323
    24 # optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS
    25 CFLAGS_OPTIMIZE_V= -O4 -fomit-frame-pointer
     24# optimize flag: typically -O2
     25CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2626
    2727
     
    3131
    3232# The following are definitions of make-exe which will work using ld as
    33 # is currently required.  It is expected that as of gcc 2.8, the end user
    34 # will be able to override parts of the compilers specs and link using gcc.
     33# is currently required.
    3534
    3635define make-exe
  • make/custom/mcp750.cfg

    rea7e978d r32fe996  
    1919
    2020# optimize flag: typically -O2
    21 CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
     21CFLAGS_OPTIMIZE_V = -O2 -mmultiple -mstring -mstrict-align
    2222
    2323define make-exe
  • make/custom/mpc8260ads.cfg

    rea7e978d r32fe996  
    2121
    2222# optimize flag: typically -O2
    23 # NOTE: some level of -O may be actually required by inline assembler
    24 CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -g
     23CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions -g
    2524
    2625# The following are definitions of make-exe which will work using ld as
    27 # is currently required.  It is expected that as of gcc 2.8, the end user
    28 # will be able to override parts of the compilers specs and link using gcc.
     26# is currently required.
    2927
    3028define make-exe
  • make/custom/mrm332.cfg

    rea7e978d r32fe996  
    1818
    1919# optimize flag: typically -O2
    20 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     20CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2121
    2222# The following are definitions of make-exe which will work using ld as
    23 # is currently required.  It is expected that as of gcc 2.8, the end user
    24 # will be able to override parts of the compilers specs and link using gcc.
     23# is currently required.
    2524
    2625ifeq ($(MRM_IN_ROM),yes)
  • make/custom/mtx603e.cfg

    rea7e978d r32fe996  
    22#  Config file for Motorola MTX603e -- a MPC603e ATX form factor board
    33#
    4 mcp750.cfg,v 1.24 2002/04/18 13:07:35 joel Exp
     4$Id$
    55#
    66
     
    1818
    1919# optimize flag: typically -O2
    20 CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
     20CFLAGS_OPTIMIZE_V = -O2 -mmultiple -mstring -mstrict-align
    2121
    2222define make-exe
  • make/custom/mvme136.cfg

    rea7e978d r32fe996  
    2020
    2121# optimize flag: typically -O2
    22 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     22CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2323
    2424# The following are definitions of make-exe which will work using ld as
    25 # is currently required.  It is expected that as of gcc 2.8, the end user
    26 # will be able to override parts of the compilers specs and link using gcc.
     25# is currently required.
    2726
    2827define make-exe
  • make/custom/mvme147.cfg

    rea7e978d r32fe996  
    1313RTEMS_BSP_FAMILY=mvme147
    1414
    15 # default flags
    16 CPU_CFLAGS=
     15#  This contains the compiler options necessary to select the CPU model
     16#  and (hopefully) optimize for it.
     17CPU_CFLAGS =
    1718
    1819# optimize flag: typically -O2
    19 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     20CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2021
    2122# The following are definitions of make-exe which will work using ld as
    22 # is currently required.  It is expected that as of gcc 2.8, the end user
    23 # will be able to override parts of the compilers specs and link using gcc.
     23# is currently required.
    2424
    2525define make-exe
  • make/custom/mvme162.cfg

    rea7e978d r32fe996  
    2222
    2323# optimize flag: typically -O2
    24 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     24CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2525
    2626# The following are definitions of make-exe which will work using ld as
    27 # is currently required.  It is expected that as of gcc 2.8, the end user
    28 # will be able to override parts of the compilers specs and link using gcc.
     27# is currently required.
    2928
    3029define make-exe
  • make/custom/mvme162lx.cfg

    rea7e978d r32fe996  
    2828
    2929# optimize flag: typically -O2
    30 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     30CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    3131
    3232# The following are definitions of make-exe which will work using ld as
    33 # is currently required.  It is expected that as of gcc 2.8, the end user
    34 # will be able to override parts of the compilers specs and link using gcc.
     33# is currently required.
    3534
    3635define make-exe
  • make/custom/mvme167.cfg

    rea7e978d r32fe996  
    2525
    2626
    27 # optimize flag: typically -O, could use -O4 or -fast
    28 CFLAGS_OPTIMIZE_V=-O4 -fno-omit-frame-pointer
     27# optimize flag: typically -O2
     28CFLAGS_OPTIMIZE_V = -O2 -fno-omit-frame-pointer
    2929
    3030# Here is the rule to actually build a $(ARCH)/foo.exe
     
    3636
    3737# The following are definitions of make-exe which will work using ld as
    38 # is currently required.  It is expected that as of gcc 2.8, the end user
    39 # will be able to override parts of the compilers specs and link using gcc.
     38# is currently required.
    4039
    4140# The MC68040 does not implement all MC68881/MC68882 instructions, so use
  • make/custom/mvme2100.cfg

    rea7e978d r32fe996  
    1818
    1919# optimize flag: typically -O2
    20 CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
     20CFLAGS_OPTIMIZE_V = -O2 -mmultiple -mstring -mstrict-align
    2121
    2222define make-exe
  • make/custom/mvme2307.cfg

    rea7e978d r32fe996  
    1717#
    1818CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align -meabi
    19 #-msdata=eabi
    2019
    2120# optimize flag: typically -O2
    22 # NOTE: some level of -O may be actually required by inline assembler
    23 #CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    24 CFLAGS_OPTIMIZE_V = -O4
     21CFLAGS_OPTIMIZE_V = -O2
    2522
    2623define make-exe
  • make/custom/mvme5500.cfg

    rea7e978d r32fe996  
    2121
    2222# optimize flag: typically -O2
    23 #CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    24 CFLAGS_OPTIMIZE_V = -O4
     23CFLAGS_OPTIMIZE_V = -O2
    2524
    2625define make-exe
     
    2827        $(NM) -g -n $@ > $(basename $@).num
    2928        $(SIZE) $@
    30 #       test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin
    3129        $(OBJCOPY) -Obinary $@ $(@:%.exe=%)$(LIB_VARIANT).bin
    3230endef
  • make/custom/no_bsp.cfg

    rea7e978d r32fe996  
    1313RTEMS_BSP_FAMILY=no_bsp
    1414
    15 # Define this to yes if C++ is included in the development environment.
    16 # This requires that at least the GNU C++ compiler and libg++ be installed.
    17 #
    18 #  Need "main" in BSP so can't link C++ sample test or you will get
    19 #     duplicate symbol errors for main
    20 #
    21 HAS_CPLUSPLUS=no
    22 
    2315# Miscellaneous additions go here
  • make/custom/ods68302.cfg

    rea7e978d r32fe996  
    2626
    2727# optimize flag: typically -O2
    28 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     28CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2929
    3030# The following are definitions of make-exe which will work using ld as
    31 # is currently required.  It is expected that as of gcc 2.8, the end user
    32 # will be able to override parts of the compilers specs and link using gcc.
     31# is currently required.
    3332
    3433define make-exe
  • make/custom/pc386.cfg

    rea7e978d r32fe996  
    2222
    2323# optimize flag: typically -O2
    24 CFLAGS_OPTIMIZE_V=-O4
     24CFLAGS_OPTIMIZE_V = -O2
    2525
    2626# Here is the rule to actually build a $(ARCH)/foo.exe
     
    4444
    4545# The following are definitions of make-exe which will work using ld as
    46 # is currently required.  It is expected that as of gcc 2.8, the end user
    47 # will be able to override parts of the compilers specs and link using gcc.
     46# is currently required.
    4847
    4948define make-exe
  • make/custom/pc386dx.cfg

    rea7e978d r32fe996  
    66
    77RTEMS_CPU_MODEL=i386dx
     8
     9#  This contains the compiler options necessary to select the CPU model
     10#  and (hopefully) optimize for it.
    811CPU_CFLAGS = -msoft-float -mno-fp-ret-in-387
    912
  • make/custom/pc486.cfg

    rea7e978d r32fe996  
    66
    77RTEMS_CPU_MODEL=i486dx
    8 # gcc 2.95.x and 3.0
    9 #CPU_CFLAGS = -m486
    10 # gcc 3.1 and newer
    11 # CPU_CFLAGS=-mcpu=i486
    12 # gcc 4.0 and newer
    13 CPU_CFLAGS=-mtune=i486
     8
     9#  This contains the compiler options necessary to select the CPU model
     10#  and (hopefully) optimize for it.
     11CPU_CFLAGS = -mtune=i486
    1412
    1513include $(RTEMS_ROOT)/make/custom/pc386.cfg
  • make/custom/pc586.cfg

    rea7e978d r32fe996  
    66
    77RTEMS_CPU_MODEL=pentium
    8 # gcc 2.95.x and 3.0
    9 #CPU_CFLAGS = -mpentium
    10 # gcc 3.1 and newer
    11 # CPU_CFLAGS=-mcpu=pentium
    12 # gcc 4.0 and newer
    13 CPU_CFLAGS=-mtune=pentium
     8
     9#  This contains the compiler options necessary to select the CPU model
     10#  and (hopefully) optimize for it.
     11CPU_CFLAGS = -mtune=pentium
    1412
    1513include $(RTEMS_ROOT)/make/custom/pc386.cfg
  • make/custom/pc686.cfg

    rea7e978d r32fe996  
    66
    77RTEMS_CPU_MODEL=pentiumpro
    8 # gcc 2.95.x and 3.0
    9 #CPU_CFLAGS = -mpentiumpro
    10 # gcc 3.1 and newer
    11 # CPU_CFLAGS=-mcpu=pentiumpro
    12 # gcc 4.0 and newer
    13 CPU_CFLAGS=-mtune=pentiumpro
     8
     9#  This contains the compiler options necessary to select the CPU model
     10#  and (hopefully) optimize for it.
     11CPU_CFLAGS = -mtune=pentiumpro
    1412
    1513include $(RTEMS_ROOT)/make/custom/pc386.cfg
  • make/custom/pck6.cfg

    rea7e978d r32fe996  
    66
    77RTEMS_CPU_MODEL=pentium
    8 # gcc 3.1 and newer
    9 # CPU_CFLAGS = -mcpu=k6
    10 # gcc 4.0 and newer
     8
     9#  This contains the compiler options necessary to select the CPU model
     10#  and (hopefully) optimize for it.
    1111CPU_CFLAGS = -mtune=k6
    1212
  • make/custom/psim.cfg

    rea7e978d r32fe996  
    2020
    2121# optimize flag: typically -O2
    22 # NOTE: some level of -O may be actually required by inline assembler
    23 CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
     22CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions
    2423
    2524define make-exe
  • make/custom/rbtx4925.cfg

    rea7e978d r32fe996  
    1717
    1818# optimize flag: typically -O2
    19 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     19CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2020
    2121# The following are definitions of make-exe which will work using ld as
    22 # is currently required.  It is expected that as of gcc 2.8, the end user
    23 # will be able to override parts of the compilers specs and link using gcc.
     22# is currently required.
    2423
    2524define make-exe
  • make/custom/rbtx4938.cfg

    rea7e978d r32fe996  
    1717
    1818# optimize flag: typically -O2
    19 CFLAGS_OPTIMIZE_V=-fomit-frame-pointer
     19CFLAGS_OPTIMIZE_V = -fomit-frame-pointer
    2020
    2121# The following are definitions of make-exe which will work using ld as
    22 # is currently required.  It is expected that as of gcc 2.8, the end user
    23 # will be able to override parts of the compilers specs and link using gcc.
     22# is currently required.
    2423
    2524define make-exe
  • make/custom/score603e.cfg

    rea7e978d r32fe996  
    2424
    2525# optimize flag: typically -O2
    26 # NOTE: some level of -O may be actually required by inline assembler
    27 CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    28 # CFLAGS_OPTIMIZE_V=-O0
     26CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions
    2927
    3028define make-exe
     
    4038
    4139# Miscellaneous additions go here
    42 
    43 DRIVER_ARCHITECTURE=vmebus
  • make/custom/shsim.cfg

    rea7e978d r32fe996  
    1616#  and (hopefully) optimize for it.
    1717#
    18 CPU_CFLAGS=-m1
     18CPU_CFLAGS = -m1
    1919
    2020# optimize flag: typically -O2
    21 # CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
    22 CFLAGS_OPTIMIZE_V=-O2 -g
     21CFLAGS_OPTIMIZE_V = -O2 -g
    2322
    2423# The following are definitions of make-exe which will work using ld as
    25 # is currently required.  It is expected that as of gcc 2.8, the end user
    26 # will be able to override parts of the compilers specs and link using gcc.
     24# is currently required.
    2725
    2826define make-exe
  • make/custom/sim68000.cfg

    rea7e978d r32fe996  
    99RTEMS_CPU=m68k
    1010RTEMS_CPU_MODEL=m68000
     11
     12#  This contains the compiler options necessary to select the CPU model
     13#  and (hopefully) optimize for it.
    1114CPU_CFLAGS = -m68000
    1215
     
    1518
    1619# optimize flag: typically -O2
    17 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     20CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    1821
    1922# The following are definitions of make-exe which will work using ld as
    20 # is currently required.  It is expected that as of gcc 2.8, the end user
    21 # will be able to override parts of the compilers specs and link using gcc.
     23# is currently required.
    2224
    2325define make-exe
  • make/custom/simcpu32.cfg

    rea7e978d r32fe996  
    99RTEMS_CPU=m68k
    1010RTEMS_CPU_MODEL=mcpu32
     11
     12#  This contains the compiler options necessary to select the CPU model
     13#  and (hopefully) optimize for it.
    1114CPU_CFLAGS = -mcpu32
    1215
     
    1518
    1619# optimize flag: typically -O2
    17 CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
     20CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    1821
    1922# The following are definitions of make-exe which will work using ld as
    20 # is currently required.  It is expected that as of gcc 2.8, the end user
    21 # will be able to override parts of the compilers specs and link using gcc.
     23# is currently required.
    2224
    2325define make-exe
  • make/custom/simsh4.cfg

    rea7e978d r32fe996  
    2424# Seems to be good without initialisation FPSCR.
    2525# Also works with SH4_FPSCR_DN bit set.
    26 #CPU_CFLAGS= -m4-single-only -ml
     26#CPU_CFLAGS = -m4-single-only -ml
    2727#
    2828# It works with SH4_FPSCR_PR bit set
    29 CPU_CFLAGS= -m4 -ml
     29CPU_CFLAGS = -m4 -ml
    3030
    3131
    3232# optimize flag: typically -O2
    33 CFLAGS_OPTIMIZE_V = -O4
     33CFLAGS_OPTIMIZE_V = -O2
    3434
    3535# The following are definitions of make-exe which will work using ld as
    36 # is currently required.  It is expected that as of gcc 2.8, the end user
    37 # will be able to override parts of the compilers specs and link using gcc.
     36# is currently required.
    3837
    3938define make-exe
  • make/custom/simsh7032.cfg

    rea7e978d r32fe996  
    1818#  and (hopefully) optimize for it.
    1919#
    20 CPU_CFLAGS=-m1
     20CPU_CFLAGS = -m1
    2121
    2222# optimize flag: typically -O2
    23 CFLAGS_OPTIMIZE_V = -O4
     23CFLAGS_OPTIMIZE_V = -O2
    2424
    2525# Miscellaneous additions go here
  • make/custom/simsh7045.cfg

    rea7e978d r32fe996  
    1818#  and (hopefully) optimize for it.
    1919#
    20 CPU_CFLAGS=-m2
     20CPU_CFLAGS = -m2
    2121
    2222# optimize flag: typically -O2
    23 CFLAGS_OPTIMIZE_V = -O4
     23CFLAGS_OPTIMIZE_V = -O2
    2424
    2525# Miscellaneous additions go here
  • make/custom/ss555.cfg

    rea7e978d r32fe996  
    2323CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -D$(RTEMS_CPU_MODEL) -D$(RTEMS_BSP_FAMILY)
    2424
    25 # optimize flag: typically -O, could use -O4 or -fast
    26 # NOTE: some level of -O may be actually required by inline assembler
    27 CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    28 CXXFLAGS_OPTIMIZE_V=-O4
     25# optimize flag: typically -O2
     26CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions
    2927
    3028define make-exe
  • make/custom/ts_386ex.cfg

    rea7e978d r32fe996  
    2020
    2121# optimize flag: typically -O2
    22 CFLAGS_OPTIMIZE_V= -O4
     22CFLAGS_OPTIMIZE_V = -O2
    2323
    2424#  Something like this should produce a map file but this does not work.
  • make/custom/uC5282.cfg

    rea7e978d r32fe996  
    1515CPU_CFLAGS = -m528x
    1616
    17 # CFLAGS_OPTIMIZE_V= -O0 -fomit-frame-pointer
    18 CFLAGS_OPTIMIZE_V= -O4 -g
     17# optimize flag: typically -O2
     18CFLAGS_OPTIMIZE_V = -O2 -g
    1919
    2020# The following are definitions of make-exe which will work using ld as
    21 # is currently required.  It is expected that as of gcc 2.8, the end user
    22 # will be able to override parts of the compilers specs and link using gcc.
     21# is currently required.
    2322
    2423define make-exe
Note: See TracChangeset for help on using the changeset viewer.