source: rtems/aclocal/bsp-alias.m4 @ 1a5a3705

4.104.114.84.95
Last change on this file since 1a5a3705 was 1a5a3705, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/09/06 at 15:30:18

2006-01-09 Ralf Corsepius <ralf.corsepius@…>

  • aclocal/bsp-alias.m4: Remove brs5l. Remove leon2. Alias leon1 to leon2. Add sis.
  • aclocal/check_bsps.m4: Remove brs5l. Remove leon. Add leon2. Add sis to erc32 family.
  • 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    pm520*)       $2=gen5200          ;; # MPC5200 based board
22    pc386dx)      $2=pc386            ;; # i386 - PC w/o FPU
23    pc486)        $2=pc386            ;; # i386 - PC with i486DX
24    pc586)        $2=pc386            ;; # i386 - PC with Pentium
25    pc686)        $2=pc386            ;; # i386 - PC with PentiumPro
26    pck6)         $2=pc386            ;; # i386 - PC with K6
27    bare*)        $2=bare             ;; # EXP: bare-aliases
28    erc32nfp)     $2=erc32            ;; # erc32 without fpu
29    leon1)        $2=leon2            ;; # leon without fpu
30    simsh7032)    $2=shsim            ;; # SH7032 simulator
31    simsh7045)    $2=shsim            ;; # SH7045 simulator
32    sis)          $2=erc32            ;; # ERC32 SIS simulator
33    *)            $2=$1;;
34  esac]
35)
36
37dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
38dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
39AC_DEFUN([RTEMS_BSP_ALIAS],
40[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
41  m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
42)
Note: See TracBrowser for help on using the repository browser.