source: rtems/aclocal/bsp-alias.m4 @ 227ae749

4.104.114.84.9
Last change on this file since 227ae749 was 227ae749, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 22, 2001 at 2:03:44 PM

2001-01-22 Ralf Corsepius <corsepiu@…>

  • aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Add simsh7032 and simsh7045.
  • Property mode set to 100644
File size: 1.7 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    mvme2307)     $2=motorola_powerpc ;; # Motorola PPC board variant
14    mvme162lx)    $2=mvme162          ;; # m68k - mvme162 board variant
15    gen68360_040) $2=gen68360         ;; # m68k - 68360 in companion mode
16    p4600)        $2=p4000            ;; # mips64orion - p4000 board w/IDT 4600
17    p4650)        $2=p4000            ;; # mips64orion - p4000 board w/IDT 4650
18    mbx8*)        $2=mbx8xx           ;; # MBX821/MBX860 board
19    pc486)        $2=pc386            ;; # i386 - PC with i486DX
20    pc586)        $2=pc386            ;; # i386 - PC with Pentium
21    pc686)        $2=pc386            ;; # i386 - PC with PentiumPro
22    pck6)         $2=pc386            ;; # i386 - PC with K6
23    bare*)        $2=bare             ;; # EXP: bare-aliases
24    erc32nfp)     $2=erc32            ;; # erc32 without fpu
25    leon1)        $2=leon             ;; # leon without fpu
26    leon2)        $2=leon             ;; # leon with fpu
27    simsh7032)    $2=shsim            ;; # SH7032 simulator
28    simsh7045)    $2=shsim            ;; # SH7045 simulator
29    *)            $2=$1;;
30  esac]
31)
32
33dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
34dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
35AC_DEFUN(RTEMS_BSP_ALIAS,
36[_RTEMS_BSP_ALIAS(ifelse([$1],,[$RTEMS_BSP],[$1]),
37  ifelse([$2],,[RTEMS_BSP_FAMILY],[$2]))]
38)
Note: See TracBrowser for help on using the repository browser.