summaryrefslogtreecommitdiffstats
path: root/aclocal/bsp-alias.m4
blob: 595b0d852c3a93b7047b3f89346a8b277e2707ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dnl
dnl  $Id$
dnl 

dnl RTEMS_BSP_ALIAS(BSP_ALIAS,BSP_RETURNED)
dnl convert a bsp alias $1 into its bsp directory $2
AC_DEFUN(RTEMS_BSP_ALIAS,
[
    # account for "aliased" bsps which share source code
    case $1 in
      mvme162lx)    $2=mvme162  ;;  # mvme162 board variant
      gen68360_040) $2=gen68360 ;;  # 68360 in companion mode
      p4600)        $2=p4000    ;;  # p4000 board with IDT 4600
      p4650)        $2=p4000    ;;  # p4000 board with IDT 4650
      *)            $2=$1;;
    esac
])