source: rtems/aclocal/check-bsps.m4 @ 574fb67

4.104.114.95
Last change on this file since 574fb67 was 574fb67, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 07/14/08 at 16:15:28

updated gen83xx BSP
updated haleakala BSP
added MPC55xx BSP

  • Property mode set to 100644
File size: 1.9 KB
Line 
1dnl $Id$
2
3##
4#
5# @file
6#
7# @ingroup mpc55xx_config
8#
9# @brief Configuration macros.
10#
11
12dnl Report all available bsps for a target within the source tree
13dnl
14dnl RTEMS_CHECK_BSPS(bsp_list)
15AC_DEFUN([RTEMS_CHECK_BSPS],
16[
17AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
18AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
19
20AC_MSG_CHECKING([for available BSPs])
21  $1=
22  for bsp_spec in `ls "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU"/*/bsp_specs 2>/dev/null`; do
23    bsp_family=`echo "$bsp_spec" | sed \
24        -e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
25        -e "s,/bsp_specs$,,"`
26    case $bsp_family in
27        # Now account for BSPs with build variants
28          c4xsim)            bsps="c4xsim c3xsim";;
29          gen68360)          bsps="gen68360 gen68360_040 pgh360";;
30          genmcf548x)        bsps="m5484FireEngine";;
31          p4000)             bsps="p4600 p4650";;
32          mvme162)           bsps="mvme162 mvme162lx";;
33          mbx8xx)            bsps="mbx821_001 mbx860_001b"
34                             bsps="$bsps mbx821_002 mbx821_002b"
35                             bsps="$bsps mbx860_002"
36                             bsps="$bsps mbx860_005b"
37                             ;;
38          gen5200)           bsps="pm520_cr825 pm520_ze30 brs5l";;
39          mpc55xxevb)        bsps="mpc5566evb";;
40          gen83xx)           bsps="mpc8349eamds hsc_cm01 mpc8313erdb";;
41          motorola_powerpc)  bsps="mvme2307 mcp750 mtx603e mvme2100";;
42          pc386)             bsps="pc386 pc386dx pc486 pc586 pc686 pck6";;
43          erc32)             bsps="erc32 sis";;
44          rtl22xx)           bsps="rtl22xx rtl22xx_t)";;
45          sim68000)          bsps="sim68000 simcpu32";;
46          shsim)             bsps="simsh7032 simsh7045";;
47          *)                 bsps="$bsp_family";;
48    esac;
49    $1="[$]$1 $bsps"
50  done
51  AS_IF([test -z "[$]$1"],
52    [AC_MSG_RESULT([none])],
53    [AC_MSG_RESULT([$]$1)])
54])dnl
Note: See TracBrowser for help on using the repository browser.