Changeset 8b9f8b8 in rtems


Ignore:
Timestamp:
Apr 18, 2002, 1:07:35 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
9779f3d
Parents:
b929c2de
Message:

2002-04-18 Ralf Corsepius <corsepiu@…>

  • custom/dmv177.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments.
  • custom/eth_comm.cfg: Remove make-target-options. Add -Dmpc$(CPU_TYPE) -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF to CPU_CFLAGS.
  • custom/gen405.cfg: Add -D_OLD_EXCEPTIONS -Dppc405 to CPU_CFLAGS.
  • custom/helas403.cfg: Add -D_OLD_EXCEPTIONS -Dppc403 to CPU_CFLAGS.
  • custom/mbx8xx.cfg: Remove make-target-options. Add -Dmpc$(CPU_TYPE) -D$(RTEMS_MBX_MODEL) to CPU_CFLAGS. Remove obsolete comments.
  • custom/mcp750.cfg: Add -Dmpc750 to CPU_CFLAGS. Remove obsolete comments.
  • custom/mpc8260ads.cfg: Remove make-target-options. Add -Dmpc8260 -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF to CPU_CFLAGS.
  • custom/mvme2307.cfg: Add -Dmpc604 to CPU_CFLAGS. Remove obsolete comments.
  • custom/ppcn_60x.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments.
  • custom/psim.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments.
  • custom/score603e.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments.
Location:
make
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    rb929c2de r8b9f8b8  
     12002-04-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * custom/dmv177.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS.
     4        Remove obsolete comments.
     5        * custom/eth_comm.cfg: Remove make-target-options.
     6        Add -Dmpc$(CPU_TYPE) -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF to
     7        CPU_CFLAGS.
     8        * custom/gen405.cfg: Add -D_OLD_EXCEPTIONS -Dppc405 to CPU_CFLAGS.
     9        * custom/helas403.cfg: Add -D_OLD_EXCEPTIONS -Dppc403 to CPU_CFLAGS.
     10        * custom/mbx8xx.cfg: Remove make-target-options.
     11        Add -Dmpc$(CPU_TYPE) -D$(RTEMS_MBX_MODEL) to CPU_CFLAGS.
     12        Remove obsolete comments.
     13        * custom/mcp750.cfg: Add -Dmpc750 to CPU_CFLAGS.
     14        Remove obsolete comments.
     15        * custom/mpc8260ads.cfg: Remove make-target-options.
     16        Add -Dmpc8260 -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF to
     17        CPU_CFLAGS.
     18        * custom/mvme2307.cfg: Add -Dmpc604 to CPU_CFLAGS.
     19        Remove obsolete comments.
     20        * custom/ppcn_60x.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to
     21        CPU_CFLAGS.
     22        Remove obsolete comments.
     23        * custom/psim.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS.
     24        Remove obsolete comments.
     25        * custom/score603e.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to
     26        CPU_CFLAGS.
     27        Remove obsolete comments.
     28
    1292002-04-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    230
  • make/custom/dmv177.cfg

    rb929c2de r8b9f8b8  
    2020#  and (hopefully) optimize for it.
    2121#
    22 CPU_CFLAGS = -mcpu=603
     22CPU_CFLAGS = -mcpu=603 -D_OLD_EXCEPTIONS -Dppc603e
    2323
    2424# optimize flag: typically -0, could use -O4 or -fast
     
    2727CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    2828
    29 # The following is a ld command file which works without using the
    30 # -specs system in gcc 2.8.  IT HAS NEVER BEEN TESTED WITH THIS BSP!!!
    31 #       $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
    32 #         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
    33 #       $(LD) $(XLDFLAGS) -Ttext 0x20000 \
    34 #         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
    35 
    36 #       $(CC) -mmvme -mrtems -nostartfiles -mcpu=603 \
    37 #           -o $(basename $@).exe -L $(PROJECT_RELEASE)/lib \
    38 #            $(START_FILE) $(LINK_OBJS) \
    39 #            $(LD_LIBS) \
    40 #           -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
    4129define make-exe
    4230        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
  • make/custom/eth_comm.cfg

    rb929c2de r8b9f8b8  
    1515RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
    1616
    17 #  This section makes the target dependent options file.
    18 
    1917#  PPC_ABI (PowerPC)
    2018#     This defines the calling convention (Application Binary Interface)
     
    2725#
    2826
    29 define make-target-options
    30         @echo "#ifdef mpc$(CPU_TYPE)"                       >>$@
    31         @echo "#undef mpc$(CPU_TYPE)"                       >>$@
    32         @echo "#endif"                                      >>$@
    33         @echo "#define mpc$(CPU_TYPE) 1"                    >>$@
    34         @echo                                               >>$@
    35         @echo "#define PPC_ABI PPC_ABI_EABI"                >>$@
    36         @echo "#define PPC_ASM PPC_ASM_ELF"                 >>$@
    37 endef
    38 
    3927#  This contains the compiler options necessary to select the CPU model
    4028#  and (hopefully) optimize for it.
    4129#
    42 CPU_CFLAGS = -mcpu=$(CPU_TYPE)
     30CPU_CFLAGS = -mcpu=$(CPU_TYPE) -Dmpc$(CPU_TYPE) \
     31  -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF
    4332
    4433# optimize flag: typically -0, could use -O4 or -fast
  • make/custom/gen405.cfg

    rb929c2de r8b9f8b8  
    2323#  and (hopefully) optimize for it.
    2424#
    25 CPU_CFLAGS = -mcpu=403
     25CPU_CFLAGS = -mcpu=403 -D_OLD_EXCEPTIONS -Dppc405
    2626
    2727# optimize flag: typically -0, could use -O4 or -fast
  • make/custom/helas403.cfg

    rb929c2de r8b9f8b8  
    1717#  and (hopefully) optimize for it.
    1818#
    19 CPU_CFLAGS = -mcpu=403
     19CPU_CFLAGS = -mcpu=403 -D_OLD_EXCEPTIONS -Dppc403
    2020
    2121# optimize flag: typically -0, could use -O4 or -fast
  • make/custom/mbx8xx.cfg

    rb929c2de r8b9f8b8  
    6666#
    6767
    68 define make-target-options
    69         @echo "#ifdef mpc$(CPU_TYPE)"                       >>$@
    70         @echo "#undef mpc$(CPU_TYPE)"                       >>$@
    71         @echo "#endif"                                      >>$@
    72         @echo "#define mpc$(CPU_TYPE) 1"                    >>$@
    73         @echo                                               >>$@
    74 endef
    75 
    7668#  This contains the compiler options necessary to select the CPU model
    7769#  and (hopefully) optimize for it.
    7870#
    79 CPU_CFLAGS = -mcpu=$(CPU_TYPE)
     71CPU_CFLAGS = -mcpu=$(CPU_TYPE) -Dmpc$(CPU_TYPE) -D$(RTEMS_MBX_MODEL)
    8072
    8173CFLAGS_DEBUG_V += -ggdb
     
    8880CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    8981CXXFLAGS_OPTIMIZE_V=-O4
    90 
    91 # The following are definitions of make-exe which will work using ld as
    92 # is currently required.  It is expected that as of gcc 2.8, the end user
    93 # will be able to override parts of the compilers specs and link using gcc.
    9482
    9583define make-exe
  • make/custom/mcp750.cfg

    rb929c2de r8b9f8b8  
    2020# is the 604 model and that this is the default generation option.
    2121#
    22 CPU_CFLAGS = -mcpu=750
     22CPU_CFLAGS = -mcpu=750 -Dmpc750
    2323
    2424# optimize flag: typically -0, could use -O4 or -fast
     
    3737CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
    3838
    39 # The following is a ld command file which works without using the
    40 # -specs system in gcc 2.8.  IT HAS NEVER BEEN TESTED WITH THIS BSP!!!
    41 #       $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
    42 #         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
    43 #       $(LD) $(XLDFLAGS) -Ttext 0x20000 \
    44 #         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
    45 
    46 #       $(CC) -mmvme -mrtems -nostartfiles -mcpu=603 \
    47 #           -o $(basename $@).exe -L $(PROJECT_RELEASE)/lib \
    48 #            $(START_FILE) $(LINK_OBJS) \
    49 #            $(LD_LIBS) \
    50 #           -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
    5139define make-exe
    5240        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
  • make/custom/mpc8260ads.cfg

    rb929c2de r8b9f8b8  
    1414RTEMS_BSP_FAMILY=mpc8260ads
    1515
    16 #  This section makes the target dependent options file.
    17 
    1816#  PPC_ABI (PowerPC)
    1917#     This defines the calling convention (Application Binary Interface)
     
    2523#     ELF is the only one supported.
    2624
    27 define make-target-options
    28         @echo "#ifdef mpc$(CPU_TYPE)"                       >>$@
    29         @echo "#undef mpc$(CPU_TYPE)"                       >>$@
    30         @echo "#endif"                                      >>$@
    31         @echo "#define mpc$(CPU_TYPE) 1"                    >>$@
    32         @echo                                               >>$@
    33         @echo "#define PPC_ABI PPC_ABI_EABI"                >>$@
    34         @echo "#define PPC_ASM PPC_ASM_ELF"                 >>$@
    35 endef
    36 
    3725#  This contains the compiler options necessary to select the CPU model
    3826#  and (hopefully) optimize for it.
    3927#
    40 CPU_CFLAGS = -mcpu=$(CPU_TYPE) -mstrict-align
     28# CPU_CFLAGS = -mcpu=$(CPU_TYPE) -mstrict-align
     29CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260 \
     30  -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF
    4131
    4232# optimize flag: typically -0, could use -O4 or -fast
     
    5747
    5848# Miscellaneous additions go here
    59 
    60 
  • make/custom/mvme2307.cfg

    rb929c2de r8b9f8b8  
    1717#  and (hopefully) optimize for it.
    1818#
    19 CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align
     19CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align -Dmpc604
    2020
    2121# optimize flag: typically -0, could use -O4 or -fast
     
    3333CFLAGS_PROFILE_V = -O1   
    3434
    35 # The following is a linkcmds file which will work without using the
    36 # -specs system in gcc 2.8.
    37 #       $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
    38 #         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
    39 #       $(LD) $(XLDFLAGS) -Ttext 0x20000 \
    40 #         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
    41 
    42 #       $(CC) -mmvme -mrtems -nostartfiles -mcpu=603 \
    43 #           -o $(basename $@).exe -L $(PROJECT_RELEASE)/lib \
    44 #            $(START_FILE) $(LINK_OBJS) \
    45 #            $(LD_LIBS) \
    46 #           -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
    4735define make-exe
    4836        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
  • make/custom/ppcn_60x.cfg

    rb929c2de r8b9f8b8  
    1717#  and (hopefully) optimize for it.
    1818#
    19 CPU_CFLAGS = -mcpu=603
     19CPU_CFLAGS = -mcpu=603 -D_OLD_EXCEPTIONS -Dppc603e
    2020
    2121# optimize flag: typically -0, could use -O4 or -fast
     
    2525#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -fvolatile-global -fvolatile
    2626
    27 # The following is a linkcmds file which will work without using the
    28 # -specs system in gcc 2.8.
    29 #       $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
    30 #         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
    31 #       $(LD) $(XLDFLAGS) -Ttext 0x20000 \
    32 #         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
    33 
    34 #       $(CC) -mmvme -mrtems -nostartfiles -mcpu=603 \
    35 #           -o $(basename $@).exe -L $(PROJECT_RELEASE)/lib \
    36 #            $(START_FILE) $(LINK_OBJS) \
    37 #            $(LD_LIBS) \
    38 #           -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
    3927define make-exe
    4028        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
  • make/custom/psim.cfg

    rb929c2de r8b9f8b8  
    1616#  and (hopefully) optimize for it.
    1717#
    18 CPU_CFLAGS = -mcpu=603
     18CPU_CFLAGS = -mcpu=603 -D_OLD_EXCEPTIONS -Dppc603e
    1919#-ffunction-sections
    2020
     
    2424CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    2525
    26 # The following is a linkcmds file which will work without using the
    27 # -specs system in gcc 2.8.
    28 #       $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
    29 #         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
    30 #       $(LD) $(XLDFLAGS) -Ttext 0x20000 \
    31 #         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
    32 
    33 #       $(CC) -mmvme -mrtems -nostartfiles -mcpu=603 \
    34 #           -o $(basename $@).exe -L $(PROJECT_RELEASE)/lib \
    35 #            $(START_FILE) $(LINK_OBJS) \
    36 #            $(LD_LIBS) \
    37 #           -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
    38 # -Wl,--gc-sections
    3926define make-exe
    4027        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
  • make/custom/score603e.cfg

    rb929c2de r8b9f8b8  
    2121#  and (hopefully) optimize for it.
    2222#
    23 CPU_CFLAGS = -mcpu=603
     23CPU_CFLAGS = -mcpu=603 -D_OLD_EXCEPTIONS -Dppc603e
    2424
    2525# optimize flag: typically -0, could use -O4 or -fast
     
    2828CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    2929# CFLAGS_OPTIMIZE_V=-O0
    30 
    31 # The following is a linkcmds file which will work without using the
    32 # -specs system in gcc 2.8.
    33 #       $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
    34 #         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
    35 #       $(LD) $(XLDFLAGS) -Ttext 0x20000 \
    36 #         -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
    3730
    3831define make-exe
Note: See TracChangeset for help on using the changeset viewer.