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

4.104.114.84.9
Last change on this file since b50b3c8 was b50b3c8, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 21, 2001 at 2:20:50 PM

2001-02-20 Ralf Corsepius <corsepiu@…>

  • aclocal/config-subdirs.m4: Let CC default to $host_alias-gcc in TARGET_CONFIG_SUBDIRS.
  • aclocal/enable-bsp.m4: fix quoting.
  • aclocal/check-bsps.m4, aclocal/bsp-alias.m4: Add pc386dx.
  • Property mode set to 100644
File size: 1.7 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)
7AC_DEFUN(RTEMS_CHECK_BSPS,
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
14      case $file in
[8e57762]15        ChangeLog*);;
[83f62bf]16        shared*);;
17        Makefile*);;
18        READ*);;
19        CVS*);;
20        pxfl*);;
[0ff37e68]21        ac*);;
22        config*);;
[83f62bf]23        # Now account for BSPs with build variants
[be28778]24        c4xsim)            rtems_bsp="$rtems_bsp c4xsim c3xsim";;
[6d3ab0f]25        gen68360)          rtems_bsp="$rtems_bsp gen68360 gen68360_040";;
26        p4000)             rtems_bsp="$rtems_bsp p4600 p4650";;
27        mvme162)           rtems_bsp="$rtems_bsp mvme162 mvme162lx";;
[8ef3818]28        mbx8xx)            rtems_bsp="$rtems_bsp mbx821_001 mbx860_002";;
[6d3ab0f]29        motorola_powerpc)  rtems_bsp="$rtems_bsp mvme2307 mcp750";;
[b50b3c8]30        pc386)             rtems_bsp="$rtems_bsp pc386 pc386dx pc486 pc586 pc686 pck6";;
[a44f9ca5]31        erc32)             rtems_bsp="$rtems_bsp erc32 erc32nfp";;
32        leon)              rtems_bsp="$rtems_bsp leon1 leon2";;
[be28778]33        sim68000)          rtems_bsp="$rtems_bsp sim68000 simcpu32";;
[227ae749]34        shsim)             rtems_bsp="$rtems_bsp simsh7032 simsh7045";;
[21d7de3a]35        *) if test -d $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$file; then
36             $1="[$]$1 $file"
37           fi;;
[83f62bf]38      esac;
39    done
40AC_MSG_RESULT([[$]$1 .. done])
41])dnl
42
43AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,
44[dnl
[b62a92c]45AC_REQUIRE([RTEMS_TOP])
46
[83f62bf]47AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
48if test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"; then
49  AC_MSG_RESULT([yes])
50else
51  AC_MSG_ERROR([no])
52fi
53])dnl
Note: See TracBrowser for help on using the repository browser.