4.104.114.84.95
Last change
on this file since 19642e2c was
6d3ab0f,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/00 at 20:56:35
|
Added pc486 and pc586 as aliases of pc386 with proper cpu flags.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | dnl $Id$ |
---|
2 | |
---|
3 | dnl Report all available bsps for a target, |
---|
4 | dnl check if a bsp-subdirectory is present for all bsps found |
---|
5 | dnl |
---|
6 | dnl RTEMS_CHECK_BSPS(bsp_list) |
---|
7 | AC_DEFUN(RTEMS_CHECK_BSPS, |
---|
8 | [ |
---|
9 | AC_REQUIRE([RTEMS_CHECK_CPU])dnl sets RTEMS_CPU, target |
---|
10 | AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir |
---|
11 | AC_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 | motorola_powerpc) rtems_bsp="$rtems_bsp mvme2307 mcp750";; |
---|
27 | pc386) rtems_bsp="$rtems_bsp pc386 pc486 pc585 pc686";; |
---|
28 | *) $1="[$]$1 $file";; |
---|
29 | esac; |
---|
30 | done |
---|
31 | dnl ;; |
---|
32 | dnl esac |
---|
33 | AC_MSG_RESULT([[$]$1 .. done]) |
---|
34 | ])dnl |
---|
35 | |
---|
36 | AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP, |
---|
37 | [dnl |
---|
38 | AC_REQUIRE([RTEMS_TOP]) |
---|
39 | |
---|
40 | AC_MSG_CHECKING([for make/custom/[$]$1.cfg]) |
---|
41 | if test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"; then |
---|
42 | AC_MSG_RESULT([yes]) |
---|
43 | else |
---|
44 | AC_MSG_ERROR([no]) |
---|
45 | fi |
---|
46 | ])dnl |
---|
Note: See
TracBrowser
for help on using the repository browser.