source: rtems/aclocal/check-bsps.m4 @ 78ffe89

4.104.114.84.95
Last change on this file since 78ffe89 was 78ffe89, checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/99 at 15:50:20

Patch from Ralf Corsepius <corsepiu@…>

Removed all go32 configuration tests.

This patch also comments out some special treatment for Cygwin from
*.m4 macros. According to reports from David Fiddes. these should
not be necessary anymore.

  • Property mode set to 100644
File size: 1.1 KB
Line 
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
15        shared*);;
16        Makefile*);;
17        READ*);;
18        CVS*);;
19        pxfl*);;
20        # Now account for BSPs with build variants
21        gen68360)      rtems_bsp="$rtems_bsp gen68360 gen68360_040";;
22        p4000)         rtems_bsp="$rtems_bsp p4600 p4650";;
23        mvme162)       rtems_bsp="$rtems_bsp mvme162 mvme162lx";;
24        *) $1="[$]$1 $file";;
25      esac;
26    done
27dnl    ;;
28dnl esac
29AC_MSG_RESULT([[$]$1 .. done])
30])dnl
31
32AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,
33[dnl
34AC_REQUIRE([RTEMS_TOP])
35
36AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
37if test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"; then
38  AC_MSG_RESULT([yes])
39else
40  AC_MSG_ERROR([no])
41fi
42])dnl
Note: See TracBrowser for help on using the repository browser.