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

4.104.114.84.95
Last change on this file since c63a5cf was c63a5cf, checked in by Joel Sherrill <joel.sherrill@…>, on 06/14/00 at 17:12:23

Patch rtems-rc-20000614-1-cvs.diff from Ralf Corsepius
<corsepiu@…> that addresses a couple of
minor configuration issues which popped up when
experimenting with multilibs.

Note: The multigen generated make/custom/bare-*.cfg will still be
non-functional, even after having applied this patch.

  • Property mode set to 100644
File size: 1.2 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    mcp750)       $2=motorola_powerpc ;; # Motorola PPC board variant
11    mvme2307)     $2=motorola_powerpc ;; # Motorola PPC board variant
12    mvme162lx)    $2=mvme162          ;; # m68k - mvme162 board variant
13    gen68360_040) $2=gen68360         ;; # m68k - 68360 in companion mode
14    p4600)        $2=p4000            ;; # mips64orion - p4000 board w/IDT 4600
15    p4650)        $2=p4000            ;; # mips64orion - p4000 board w/IDT 4650
16    mbx8*)        $2=mbx8xx           ;; # MBX821/MBX860 board
17    pc486)        $2=pc386            ;; # i386 - PC with i486DX
18    pc586)        $2=pc386            ;; # i386 - PC with Pentium
19    pc686)        $2=pc386            ;; # i386 - PC with PentiumPro
20    bare*)        $2=bare             ;; # EXP: bare-aliases
21    *)            $2=$1;;
22  esac]
23)
24
25dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
26dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
27AC_DEFUN(RTEMS_BSP_ALIAS,
28[_RTEMS_BSP_ALIAS(ifelse([$1],,[$RTEMS_BSP],[$1]),
29  ifelse([$2],,[RTEMS_BSP_FAMILY],[$2]))]
30)
Note: See TracBrowser for help on using the repository browser.