source: rtems/aclocal/bsp-alias.m4 @ d4948dd9

4.104.114.84.95
Last change on this file since d4948dd9 was d4948dd9, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 10, 2004 at 11:49:48 PM

2004-11-10 Joel Sherrill <joel@…>

  • aclocal/bsp-alias.m4: Add MVME2100 BSP as alias of motorola_shared.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1dnl
2dnl  $Id$
3dnl
4
5dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
6dnl Internal subroutine to RTEMS_BSP_ALIAS
7AC_DEFUN([_RTEMS_BSP_ALIAS],
8[# account for "aliased" bsps which share source code
9  case $1 in
10    simcpu32)     $2=sim68000         ;; # BSVC CPU32 variant
11    c3xsim)       $2=c4xsim           ;; # TI C3x Simulator in gdb
12    mcp750)       $2=motorola_powerpc ;; # Motorola PPC board variant
13    mvme2100)     $2=motorola_powerpc ;; # Motorola PPC board variant
14    mvme2307)     $2=motorola_powerpc ;; # Motorola PPC board variant
15    mtx603e)      $2=motorola_powerpc ;; # Motorola PPC board variant
16    mvme162lx)    $2=mvme162          ;; # m68k - mvme162 board variant
17    gen68360_040) $2=gen68360         ;; # m68k - 68360 in companion mode
18    p4600)        $2=p4000            ;; # mips - p4000 board w/IDT 4600
19    p4650)        $2=p4000            ;; # mips - p4000 board w/IDT 4650
20    mbx8*)        $2=mbx8xx           ;; # MBX821/MBX860 board
21    pc386dx)      $2=pc386            ;; # i386 - PC w/o FPU
22    pc486)        $2=pc386            ;; # i386 - PC with i486DX
23    pc586)        $2=pc386            ;; # i386 - PC with Pentium
24    pc686)        $2=pc386            ;; # i386 - PC with PentiumPro
25    pck6)         $2=pc386            ;; # i386 - PC with K6
26    bare*)        $2=bare             ;; # EXP: bare-aliases
27    erc32nfp)     $2=erc32            ;; # erc32 without fpu
28    leon1)        $2=leon             ;; # leon without fpu
29    leon2)        $2=leon             ;; # leon with fpu
30    simsh7032)    $2=shsim            ;; # SH7032 simulator
31    simsh7045)    $2=shsim            ;; # SH7045 simulator
32    *)            $2=$1;;
33  esac]
34)
35
36dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
37dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
38AC_DEFUN([RTEMS_BSP_ALIAS],
39[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
40  m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
41)
Note: See TracBrowser for help on using the repository browser.