source: rtems/aclocal/check-bsps.m4 @ 686cf39

4.104.115
Last change on this file since 686cf39 was 686cf39, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/30/08 at 14:22:25

2008-12-30 Ralf Corsépius <ralf.corsepius@…>

  • aclocal/check-bsps.m4: remove stray ")" from rtl22xx_t alias.
  • Property mode set to 100644
File size: 2.0 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 `ls "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU"/*/bsp_specs 2>/dev/null`; 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 pgh360";;
21          tqm8xx)            bsps="pghplus tqm8xx_stk8xx";;
22          genmcf548x)        bsps="m5484FireEngine";;
23          p4000)             bsps="p4600 p4650";;
24          mvme162)           bsps="mvme162 mvme162lx";;
25          mbx8xx)            bsps="mbx821_001 mbx860_001b"
26                             bsps="$bsps mbx821_002 mbx821_002b"
27                             bsps="$bsps mbx860_002"
28                             bsps="$bsps mbx860_005b"
29                             ;;
30          gen5200)           bsps="pm520_cr825 pm520_ze30 brs5l icecube";;
31          h8sim)             bsps="h8sim h8sxsim";;
32          mpc55xxevb)        bsps="mpc5566evb";;
33          gen83xx)           bsps="mpc8349eamds hsc_cm01 mpc8313erdb";;
34          motorola_powerpc)  bsps="mvme2307 mcp750 mtx603e mvme2100";;
35          pc386)             bsps="pc386 pc386dx pc486 pc586 pc686 pck6";;
36          erc32)             bsps="erc32 sis";;
37          rtl22xx)           bsps="rtl22xx rtl22xx_t";;
38          lpc24xx)           bsps="lpc2478";;
39          sim68000)          bsps="sim68000 simcpu32";;
40          shsim)             bsps="simsh1 simsh2 simsh4";;
41          m32cbsp)           bsps="m32csim";;
42          *)                 bsps="$bsp_family";;
43    esac;
44    $1="[$]$1 $bsps"
45  done
46  AS_IF([test -z "[$]$1"],
47    [AC_MSG_RESULT([none])],
48    [AC_MSG_RESULT([$]$1)])
49])dnl
Note: See TracBrowser for help on using the repository browser.