source: rtems/aclocal/check-bsps.m4 @ 3959276e

4.104.114.84.95
Last change on this file since 3959276e was 3959276e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/26/03 at 05:32:03

2003-11-26 Ralf Corsepius <corsepiu@…>

  • aclocal/bsp-alias.m4, aclocal/canonical-target-name.m4, aclocal/check-bsps.m4, aclocal/check-custom-bsp.m4, aclocal/enable-bare.m4, aclocal/enable-cxx.m4, aclocal/enable-inlines.m4, aclocal/enable-itron.m4, aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4, aclocal/enable-posix.m4, aclocal/enable-rdbg.m4, aclocal/enable-rtems-debug.m4, aclocal/enable-rtemsbsp.m4, aclocal/enable-tests.m4, aclocal/multilib.m4, aclocal/path-ksh.m4, aclocal/project-root.m4, aclocal/rtems-top.m4, aclocal/tool-paths.m4, acinclude.m4: Fix underquoting to silence automake-1.8.
  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[83f62bf]1dnl $Id$
2
3dnl Report all available bsps for a target,
4dnl check if a bsp-subdirectory is present for all bsps found
5dnl
6dnl RTEMS_CHECK_BSPS(bsp_list)
[3959276e]7AC_DEFUN([RTEMS_CHECK_BSPS],
[83f62bf]8[
9AC_REQUIRE([RTEMS_CHECK_CPU])dnl sets RTEMS_CPU, target
10AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
11AC_MSG_CHECKING([for bsps])
12    files=`ls $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU`
13    for file in $files; do
[9c392aa2]14      if test -r $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$file/bsp_specs; then
15        case $file in
[83f62bf]16        # Now account for BSPs with build variants
[9c392aa2]17          c4xsim)            $1="[$]$1 c4xsim c3xsim";;
18          gen68360)          $1="[$]$1 gen68360 gen68360_040";;
19          p4000)             $1="[$]$1 p4600 p4650";;
20          mvme162)           $1="[$]$1 mvme162 mvme162lx";;
21          mbx8xx)            $1="[$]$1 mbx821_001 mbx860_002 mbx860_005b";;
[174eed8c]22          motorola_powerpc)  $1="[$]$1 mvme2307 mcp750 mtx603e";;
[9c392aa2]23          pc386)             $1="[$]$1 pc386 pc386dx pc486 pc586 pc686 pck6";;
24          erc32)             $1="[$]$1 erc32 erc32nfp";;
25          leon)              $1="[$]$1 leon1 leon2";;
26          sim68000)          $1="[$]$1 sim68000 simcpu32";;
27          shsim)             $1="[$]$1 simsh7032 simsh7045";;
28          *)                 $1="[$]$1 $file";;
29        esac;
30      fi
[83f62bf]31    done
32AC_MSG_RESULT([[$]$1 .. done])
33])dnl
Note: See TracBrowser for help on using the repository browser.