Changeset c51004a in rtems for make


Ignore:
Timestamp:
Jan 18, 2007, 8:28:54 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
002437c
Parents:
e7d49fb
Message:

Misc cleanups.

Location:
make/custom
Files:
23 edited

Legend:

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

    re7d49fb rc51004a  
    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

    re7d49fb rc51004a  
    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/bare.cfg

    re7d49fb rc51004a  
    1212RTEMS_CPU_MODEL=$(BARE_CPU_MODEL)
    1313
     14# This contains the compiler options necessary to select the CPU model
     15# and (hopefully) optimize for it.
    1416CPU_CFLAGS =$(BARE_CPU_CFLAGS)
    1517
  • make/custom/c3xsim.cfg

    re7d49fb rc51004a  
    88
    99RTEMS_CPU_MODEL=c32
     10
     11#  This contains the compiler options necessary to select the CPU model
     12#  and (hopefully) optimize for it.
    1013CPU_CFLAGS = -mcpu=32
    1114
  • make/custom/c4xsim.cfg

    re7d49fb rc51004a  
    88
    99RTEMS_CPU_MODEL=c40
     10
     11#  This contains the compiler options necessary to select the CPU model
     12#  and (hopefully) optimize for it.
    1013CPU_CFLAGS = -mcpu=40 #-msmall
    1114
  • make/custom/csb360.cfg

    re7d49fb rc51004a  
    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
    2221# optimize flag: typically -O2
    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
     22CFLAGS_OPTIMIZE_V = -O2 -fomit-frame-pointer
    2623
    2724# The following are definitions of make-exe which will work using ld as
  • make/custom/erc32.cfg

    re7d49fb rc51004a  
    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
  • make/custom/erc32nfp.cfg

    re7d49fb rc51004a  
    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
  • make/custom/gen68340.cfg

    re7d49fb rc51004a  
    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
     
    2830        $(SIZE) $@
    2931endef
    30 #        if you want to make a prom image
    31 #        m68k-rtems-objcopy --adjust-section-vma \
    32 #         .data=`m68k-rtems-objdump --section-headers $(basename $@).exe | \
    33 #         awk 'function h2d(x) { x=toupper(x); digits=length(x); s=0 ; \
    34 #              for (p=digits; p>0; p--) \
    35 #              s += (16^(p-1)) * ( index("0123456789ABCDEF",\
    36 #               substr(x,1+digits-p,1)) -1 );\
    37 #               return s } ;\
    38 #               /\.text/ { base = $$4 ; size = $$3 };\
    39 #               END { printf("0x%x", h2d(base) + h2d(size)) }'\
    40 #              ` $(basename $@).exe
    41 #        if you want to convert it to ieee
    42 #        m68k-rtems-objcopy --output-target=ieee --debugging \
    43 #              $(basename $@).exe $(basename $@).ieee
    4432
    4533# Miscellaneous additions go here
  • make/custom/gen68360.cfg

    re7d49fb rc51004a  
    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)
    2423CPU_CFLAGS = -m68040
  • make/custom/leon2.cfg

    re7d49fb rc51004a  
    1212RTEMS_BSP_FAMILY=leon2
    1313
    14 # This had been used with gcc-2.7.2
    15 # CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT)
    16 #     -mcpu=cypress says to optimize for a Cypress 60x chipset
    17 #CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
     14#  This contains the compiler options necessary to select the CPU model
     15#  and (hopefully) optimize for it.
    1816CPU_CFLAGS = -mcpu=cypress -msoft-float
    1917
     
    3129endef
    3230# Miscellaneous additions go here
    33 
  • make/custom/leon3.cfg

    re7d49fb rc51004a  
    1414RTEMS_BSP_FAMILY=leon3
    1515
    16 # This had been used with gcc-2.7.2
    17 # CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT)
    18 #     -mcpu=cypress says to optimize for a Cypress 60x chipset
    19 #CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT)
     16#  This contains the compiler options necessary to select the CPU model
     17#  and (hopefully) optimize for it.
    2018CPU_CFLAGS = -mcpu=cypress -msoft-float
    2119
  • make/custom/mcf5206elite.cfg

    re7d49fb rc51004a  
    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
  • make/custom/mvme147.cfg

    re7d49fb rc51004a  
    1313RTEMS_BSP_FAMILY=mvme147
    1414
    15 # default flags
     15#  This contains the compiler options necessary to select the CPU model
     16#  and (hopefully) optimize for it.
    1617CPU_CFLAGS =
    1718
  • make/custom/nios2_iss.cfg

    re7d49fb rc51004a  
    1616RTEMS_BSP_FAMILY = nios2_iss
    1717
    18 #  "-Gx" tells gcc to put objects of up to x bytes into sections sdata/sbss
    19 #  where they could be addressed using the global pointer gp. -G0 effectively
    20 #  disables the use of gp.
     18#  This contains the compiler options necessary to select the CPU model
     19#  and (hopefully) optimize for it.
    2120CPU_CFLAGS = -mno-hw-mul -mno-hw-div
    2221
  • make/custom/no_bsp.cfg

    re7d49fb rc51004a  
    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/pc386dx.cfg

    re7d49fb rc51004a  
    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

    re7d49fb rc51004a  
    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
     8
     9#  This contains the compiler options necessary to select the CPU model
     10#  and (hopefully) optimize for it.
    1311CPU_CFLAGS = -mtune=i486
    1412
  • make/custom/pc586.cfg

    re7d49fb rc51004a  
    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
     8
     9#  This contains the compiler options necessary to select the CPU model
     10#  and (hopefully) optimize for it.
    1311CPU_CFLAGS = -mtune=pentium
    1412
  • make/custom/pc686.cfg

    re7d49fb rc51004a  
    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
     8
     9#  This contains the compiler options necessary to select the CPU model
     10#  and (hopefully) optimize for it.
    1311CPU_CFLAGS = -mtune=pentiumpro
    1412
  • make/custom/pck6.cfg

    re7d49fb rc51004a  
    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/sim68000.cfg

    re7d49fb rc51004a  
    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
  • make/custom/simcpu32.cfg

    re7d49fb rc51004a  
    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
Note: See TracChangeset for help on using the changeset viewer.