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

4.104.114.84.95
Last change on this file since a77cd066 was 3959276e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/26/03 at 05:32:03

2003-11-26 Ralf Corsepius <corsepiu@…>

  • aclocal/bsp-alias.m4, aclocal/canonical-target-name.m4, aclocal/check-bsps.m4, aclocal/check-custom-bsp.m4, aclocal/enable-bare.m4, aclocal/enable-cxx.m4, aclocal/enable-inlines.m4, aclocal/enable-itron.m4, aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4, aclocal/enable-posix.m4, aclocal/enable-rdbg.m4, aclocal/enable-rtems-debug.m4, aclocal/enable-rtemsbsp.m4, aclocal/enable-tests.m4, aclocal/multilib.m4, aclocal/path-ksh.m4, aclocal/project-root.m4, aclocal/rtems-top.m4, aclocal/tool-paths.m4, acinclude.m4: Fix underquoting to silence automake-1.8.
  • Property mode set to 100644
File size: 1.8 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    mtx603e)      $2=motorola_powerpc ;; # Motorola PPC board variant
15    mvme162lx)    $2=mvme162          ;; # m68k - mvme162 board variant
16    gen68360_040) $2=gen68360         ;; # m68k - 68360 in companion mode
17    p4600)        $2=p4000            ;; # mips64orion - p4000 board w/IDT 4600
18    p4650)        $2=p4000            ;; # mips64orion - p4000 board w/IDT 4650
19    mbx8*)        $2=mbx8xx           ;; # MBX821/MBX860 board
20    pc386dx)      $2=pc386            ;; # i386 - PC w/o FPU
21    pc486)        $2=pc386            ;; # i386 - PC with i486DX
22    pc586)        $2=pc386            ;; # i386 - PC with Pentium
23    pc686)        $2=pc386            ;; # i386 - PC with PentiumPro
24    pck6)         $2=pc386            ;; # i386 - PC with K6
25    bare*)        $2=bare             ;; # EXP: bare-aliases
26    erc32nfp)     $2=erc32            ;; # erc32 without fpu
27    leon1)        $2=leon             ;; # leon without fpu
28    leon2)        $2=leon             ;; # leon with fpu
29    simsh7032)    $2=shsim            ;; # SH7032 simulator
30    simsh7045)    $2=shsim            ;; # SH7045 simulator
31    *)            $2=$1;;
32  esac]
33)
34
35dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
36dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
37AC_DEFUN([RTEMS_BSP_ALIAS],
38[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
39  m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
40)
Note: See TracBrowser for help on using the repository browser.