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

4.104.114.84.9
Last change on this file since 8e57762 was 8e57762, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 25, 2000 at 5:27:52 PM

2000-08-17 Ralf Corsepius <corsepiu@…>

  • make/custom/pck6.cfg: New file
  • make/custom/pc486.cfg: Use -m486
  • make/custom/pc586.cfg: Use -mpentium
  • make/custom/pc686.cfg: Use -mmpentiumpro
  • make/custom/i386ex.cfg: Use -msoft-float
  • aclocal/check-bsps.h:
    • Add pck6-BSP
    • Exclude ChangeLog? from being picked up as BSP
  • aclocal/bsp-alias.m4: Add pck6-BSP
  • Property mode set to 100644
File size: 1.5 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        ChangeLog*);;
16        shared*);;
17        Makefile*);;
18        READ*);;
19        CVS*);;
20        pxfl*);;
21        ac*);;
22        config*);;
23        # Now account for BSPs with build variants
24        c4sxim)            rtems_bsp="$rtems_bsp c4xsim c3xsim";;
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";;
28        mbx8xx)            rtems_bsp="$rtems_bsp mbx821_001 mbx860_002";;
29        motorola_powerpc)  rtems_bsp="$rtems_bsp mvme2307 mcp750";;
30        pc386)             rtems_bsp="$rtems_bsp pc386 pc486 pc586 pc686 pck6";;
31        sim68000)          rtems_bsp="$rtems_bsp simcpu32";;
32        *) $1="[$]$1 $file";;
33      esac;
34    done
35dnl    ;;
36dnl esac
37AC_MSG_RESULT([[$]$1 .. done])
38])dnl
39
40AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,
41[dnl
42AC_REQUIRE([RTEMS_TOP])
43
44AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
45if test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"; then
46  AC_MSG_RESULT([yes])
47else
48  AC_MSG_ERROR([no])
49fi
50])dnl
Note: See TracBrowser for help on using the repository browser.