source: rtems/aclocal/check-bsps.m4 @ 0ff37e68

4.104.114.84.95
Last change on this file since 0ff37e68 was 0ff37e68, checked in by Joel Sherrill <joel.sherrill@…>, on 01/07/00 at 14:47:02

Patch rtems-rc-20000104-0.diff from Ralf Corsepius <corsepiu@…>
which is described below:

This one is a (minor) patch in preparation of the upcoming patches. It
actually is an excerpt of the upcoming patches and therefore is
completely untested in this standalone form, but I don't expect it to
break something.

The essential changes in this patch are:

  • An update to rtems-polish.sh (Now can also be run in subdirectories)
  • A bug-fix for the libcpu/powerpc (A directory was missing from SUBDIRS in a Makefile.am)
  • An update to gensh2.cfg.
  • Cleanups/Enhancements? to configuration files

To apply:

cd <srcdir>
patch -p0 < rtems-rc-20000104-0.diff
cvs rm -f c/src/lib/libbsp/Makefile.am.new

  • 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        ac*);;
21        config*);;
22        # Now account for BSPs with build variants
23        gen68360)      rtems_bsp="$rtems_bsp gen68360 gen68360_040";;
24        p4000)         rtems_bsp="$rtems_bsp p4600 p4650";;
25        mvme162)       rtems_bsp="$rtems_bsp mvme162 mvme162lx";;
26        *) $1="[$]$1 $file";;
27      esac;
28    done
29dnl    ;;
30dnl esac
31AC_MSG_RESULT([[$]$1 .. done])
32])dnl
33
34AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,
35[dnl
36AC_REQUIRE([RTEMS_TOP])
37
38AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
39if test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"; then
40  AC_MSG_RESULT([yes])
41else
42  AC_MSG_ERROR([no])
43fi
44])dnl
Note: See TracBrowser for help on using the repository browser.