source: rtems/aclocal/bsp-alias.m4 @ 307c7af1

4.104.114.84.9
Last change on this file since 307c7af1 was c9b005a9, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Jul 9, 2006 at 10:05:27 AM

applied patches for PR1117/1118/1119/1120

  • Property mode set to 100644
File size: 2.0 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    bare*)        $2=bare             ;; # EXP: bare-aliases
11    c3xsim)       $2=c4xsim           ;; # TI C3x Simulator in gdb
12    erc32nfp)     $2=erc32            ;; # erc32 without fpu
13    gen68360_040) $2=gen68360         ;; # m68k - 68360 in companion mode
14    leon1)        $2=leon2            ;; # leon without fpu
15    mbx8*)        $2=mbx8xx           ;; # MBX821/MBX860 board
16    mcp750)       $2=motorola_powerpc ;; # Motorola PPC board variant
17    mtx603e)      $2=motorola_powerpc ;; # Motorola PPC board variant
18    mvme162lx)    $2=mvme162          ;; # m68k - mvme162 board variant
19    mvme2100)     $2=motorola_powerpc ;; # Motorola PPC board variant
20    mvme2307)     $2=motorola_powerpc ;; # Motorola PPC board variant
21    p4600)        $2=p4000            ;; # mips - p4000 board w/IDT 4600
22    p4650)        $2=p4000            ;; # mips - p4000 board w/IDT 4650
23    pc386dx)      $2=pc386            ;; # i386 - PC w/o FPU
24    pc486)        $2=pc386            ;; # i386 - PC with i486DX
25    pc586)        $2=pc386            ;; # i386 - PC with Pentium
26    pc686)        $2=pc386            ;; # i386 - PC with PentiumPro
27    pck6)         $2=pc386            ;; # i386 - PC with K6
28    brs5l*)       $2=gen5200          ;; # MPC5200 based board
29    pm520*)       $2=gen5200          ;; # MPC5200 based board
30    simcpu32)     $2=sim68000         ;; # BSVC CPU32 variant
31    simsh7032)    $2=shsim            ;; # SH7032 simulator
32    simsh7045)    $2=shsim            ;; # SH7045 simulator
33    sis)          $2=erc32            ;; # erc32 SIS simulator
34    *)            $2=$1;;
35  esac]
36)
37
38dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
39dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
40AC_DEFUN([RTEMS_BSP_ALIAS],
41[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
42  m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
43)
Note: See TracBrowser for help on using the repository browser.