source: rtems/aclocal/check-bsps.m4 @ 8ef3818

4.104.114.84.9
Last change on this file since 8ef3818 was 8ef3818, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 12, 2000 at 7:57:02 PM

Patch from John Cotton <john.cotton@…>, Charles-Antoine Gauthier
<charles.gauthier@…>, and Darlene A. Stewart
<Darlene.Stewart@…> to add support for a number of very
significant things:

+ BSPs for many variations on the Motorola MBX8xx board series
+ Cache Manager including initial support for m68040

and PowerPC

+ Rework of mpc8xx libcpu code so all mpc8xx CPUs now use

same code base.

+ Rework of eth_comm BSP to utiltize above.

John reports this works on the 821 and 860

  • Property mode set to 100644
File size: 1.3 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        mbx8xx)            rtems_bsp="$rtems_bsp mbx821_001 mbx860_002";;
27        motorola_powerpc)  rtems_bsp="$rtems_bsp mvme2307 mcp750";;
28        pc386)             rtems_bsp="$rtems_bsp pc386 pc486 pc586 pc686";;
29        *) $1="[$]$1 $file";;
30      esac;
31    done
32dnl    ;;
33dnl esac
34AC_MSG_RESULT([[$]$1 .. done])
35])dnl
36
37AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,
38[dnl
39AC_REQUIRE([RTEMS_TOP])
40
41AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
42if test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"; then
43  AC_MSG_RESULT([yes])
44else
45  AC_MSG_ERROR([no])
46fi
47])dnl
Note: See TracBrowser for help on using the repository browser.