OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [aclocal/] [bsp-alias.m4] - Blame information for rev 1781

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
dnl
2
dnl  bsp-alias.m4,v 1.15 2001/11/21 18:36:51 joel Exp
3
dnl
4
 
5
dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
6
dnl Internal subroutine to RTEMS_BSP_ALIAS
7
AC_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
    pc386dx)      $2=pc386            ;; # i386 - PC w/o FPU
20
    pc486)        $2=pc386            ;; # i386 - PC with i486DX
21
    pc586)        $2=pc386            ;; # i386 - PC with Pentium
22
    pc686)        $2=pc386            ;; # i386 - PC with PentiumPro
23
    pck6)         $2=pc386            ;; # i386 - PC with K6
24
    bare*)        $2=bare             ;; # EXP: bare-aliases
25
    erc32nfp)     $2=erc32            ;; # erc32 without fpu
26
    leon1)        $2=leon             ;; # leon without fpu
27
    leon2)        $2=leon             ;; # leon with fpu
28
    simsh7032)    $2=shsim            ;; # SH7032 simulator
29
    simsh7045)    $2=shsim            ;; # SH7045 simulator
30
    *)            $2=$1;;
31
  esac]
32
)
33
 
34
dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
35
dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
36
AC_DEFUN(RTEMS_BSP_ALIAS,
37
[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
38
  m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
39
)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.