Changeset f5642664 in rtems for make


Ignore:
Timestamp:
Aug 2, 2002, 12:08:01 AM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
8378eae
Parents:
65a41d61
Message:

2002-08-01 Joel Sherrill <joel@…>

  • eth_comm.cfg, mbx821_001.cfg, mbx860_002.cfg, mbx860_005b.cfg, mbx8xx.cfg, mpc8260ads.cfg: Per PR260 removed make-target-options.
Location:
make
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    r65a41d61 rf5642664  
    112002-08-01      Joel Sherrill <joel@OARcorp.com>
    22
    3         * custom/mvme136.cfg: Per PR260 removed make-target-options.
     3        * eth_comm.cfg, mbx821_001.cfg, mbx860_002.cfg, mbx860_005b.cfg,
     4        mbx8xx.cfg, mpc8260ads.cfg: Per PR260 removed make-target-options.
     5
     62002-08-01      Joel Sherrill <joel@OARcorp.com>
     7
     8        * custom/mvme136.cfg: Remove make-target-options.
    49
    5102002-07-30      Joel Sherrill <joel@OARcorp.com>
  • make/custom/eth_comm.cfg

    r65a41d61 rf5642664  
    99RTEMS_CPU=powerpc
    1010RTEMS_CPU_MODEL=mpc8xx
    11 CPU_TYPE=860
     118XX_CPU_TYPE=860
    1212
    1313# This is the actual bsp directory used during the build process.
     
    2828#  and (hopefully) optimize for it.
    2929#
    30 CPU_CFLAGS = -mcpu=$(CPU_TYPE) -Dmpc$(CPU_TYPE) \
     30CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -Dmpc$(8XX_CPU_TYPE) \
    3131  -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF
    3232
  • make/custom/mbx821_001.cfg

    r65a41d61 rf5642664  
    99
    1010RTEMS_MBX_MODEL=mbx821_001
     118XX_CPU_TYPE=821
    1112
    1213include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg
  • make/custom/mbx860_002.cfg

    r65a41d61 rf5642664  
    99
    1010RTEMS_MBX_MODEL=mbx860_002
     118XX_CPU_TYPE=860
    1112
    1213include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg
  • make/custom/mbx860_005b.cfg

    r65a41d61 rf5642664  
    99
    1010RTEMS_MBX_MODEL=mbx860_005b
     118XX_CPU_TYPE=860
    1112
    1213# The 860_005b has 16M ram : org = 0x0, l = 16M
     
    1617
    1718include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg
    18 define make-target-options
    19         @echo "#ifdef mpc$(CPU_TYPE)"                       >>$@
    20         @echo "#undef mpc$(CPU_TYPE)"                       >>$@
    21         @echo "#endif"                                      >>$@
    22         @echo "#define mpc$(CPU_TYPE) 1"                    >>$@
    23         @echo                                               >>$@
    24 endef
  • make/custom/mbx8xx.cfg

    r65a41d61 rf5642664  
    1111
    1212RTEMS_CPU=powerpc
    13 RTEMS_CPU_MODEL=mpc8xx
     13RTEMS_CPU_MODEL=mpc$(8XX_CPU_TYPE)
    1414
    1515# This is the actual bsp directory used during the build process.
    1616RTEMS_BSP_FAMILY=mbx8xx
    17 
    18 # The value assigned to RTEMS_CPU, RTEMS_CPU_MODEL and RTEMS_BSP get
    19 # #defined in targopts.h. Source code can switch on these values with #ifdef
    20 # to select what code to compile for a specific CPU family member and specific
    21 # board. The RTEMS_CPU_MODEL is also used as the name of the libcpu directory,
    22 # while the RTEMS_BSP_FAMILY is used as the name of the libbsp directory.
    23 # For the MBX860 and MBX821, the boards and processors are sufficiently
    24 # similar that the ports are unified and use RTEMS_CPU_MODEL=mpc8xx and
    25 # RTEMS_BSP_FAMILY=mbx8xx. Because there are minor differences in the CPUs
    26 # and the boards, it is necessary to specify them fully during the build.
    27 # Do a "make RTEMS_BSP=<your_board> <target>" See below for a list of valid
    28 # values for <your_board>.
    29 
    30 ifeq ($(findstring mbx821,$(RTEMS_MBX_MODEL)),mbx821)
    31 CPU_TYPE=821
    32 else
    33 ifeq ($(findstring mbx860,$(RTEMS_MBX_MODEL)),mbx860)
    34 CPU_TYPE=860
    35 else
    36 RTEMS_BSP = mbx860_002
    37 RTEMS_MBX_MODEL = mbx860_002
    38 TARGET_ARCH=o-mbx860_002
    39 CPU_TYPE=860
    40 endif # mbx860
    41 endif # mbx821
    4217
    4318#  This section makes the target dependent options file.
     
    6944#  and (hopefully) optimize for it.
    7045#
    71 CPU_CFLAGS = -mcpu=$(CPU_TYPE) -Dmpc$(CPU_TYPE) -D$(RTEMS_MBX_MODEL)
     46CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -Dmpc$(8XX_CPU_TYPE) -D$(RTEMS_MBX_MODEL)
    7247
    7348CFLAGS_DEBUG_V += -ggdb
  • make/custom/mpc8260ads.cfg

    r65a41d61 rf5642664  
    99RTEMS_CPU=powerpc
    1010RTEMS_CPU_MODEL=mpc8260
    11 CPU_TYPE=8260
     118XX_CPU_TYPE=8260
    1212
    1313# This is the actual bsp directory used during the build process.
     
    2626#  and (hopefully) optimize for it.
    2727#
    28 # CPU_CFLAGS = -mcpu=$(CPU_TYPE) -mstrict-align
     28# CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -mstrict-align
    2929CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260 \
    3030  -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF
Note: See TracChangeset for help on using the changeset viewer.