source: rtems/aclocal/check-bsps.m4 @ a7cddf52

4.104.114.84.9
Last change on this file since a7cddf52 was a7cddf52, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 12, 2004 at 4:00:17 PM

2004-11-12 Ralf Corsepius <ralf_corsepius@…>

  • aclocal/check-bsps.m4: Add MVME2100 BSP as alias of motorola_shared.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1dnl $Id$
2
3dnl Report all available bsps for a target within the source tree
4dnl
5dnl RTEMS_CHECK_BSPS(bsp_list)
6AC_DEFUN([RTEMS_CHECK_BSPS],
7[
8AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
9AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
10
11AC_MSG_CHECKING([for available BSPs])
12  $1=
13  for bsp_spec in "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU"/*/bsp_specs; do
14    bsp_family=`echo "$bsp_spec" | sed \
15        -e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
16        -e "s,/bsp_specs$,,"`
17    case $bsp_family in
18        # Now account for BSPs with build variants
19          c4xsim)            bsps="c4xsim c3xsim";;
20          gen68360)          bsps="gen68360 gen68360_040";;
21          p4000)             bsps="p4600 p4650";;
22          mvme162)           bsps="mvme162 mvme162lx";;
23          mbx8xx)            bsps="mbx821_001 mbx860_002 mbx860_005b";;
24          motorola_powerpc)  bsps="mvme2307 mcp750 mtx603e mvme2100";;
25          pc386)             bsps="pc386 pc386dx pc486 pc586 pc686 pck6";;
26          erc32)             bsps="erc32 erc32nfp";;
27          leon)              bsps="leon1 leon2";;
28          sim68000)          bsps="sim68000 simcpu32";;
29          shsim)             bsps="simsh7032 simsh7045";;
30          *)                 bsps="$bsp_family";;
31    esac;
32    $1="[$]$1 $bsps"
33  done
34  AS_IF([test -z "[$]$1"],
35    [AC_MSG_RESULT([none])],
36    [AC_MSG_RESULT([$]$1)])
37])dnl
Note: See TracBrowser for help on using the repository browser.