summaryrefslogtreecommitdiffstats
path: root/aclocal/check-bsps.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-15 16:50:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-11-15 16:50:33 +0000
commit9c392aa281b5855afa7ed058dee68ab64981776c (patch)
tree235467c1e77ef1501d69c159fc865dac1bd16881 /aclocal/check-bsps.m4
parent4fa90c0b0e2f77187d666151c9701e6965ff185c (diff)
downloadrtems-9c392aa281b5855afa7ed058dee68ab64981776c.tar.bz2
2001-11-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-bsps.m4: Reworked. * aclocal/bsp-alias.m4: Add score603e_g1, apply m4sugar.
Diffstat (limited to 'aclocal/check-bsps.m4')
-rw-r--r--aclocal/check-bsps.m441
1 files changed, 17 insertions, 24 deletions
diff --git a/aclocal/check-bsps.m4 b/aclocal/check-bsps.m4
index 25963d1b80..0f41e0a407 100644
--- a/aclocal/check-bsps.m4
+++ b/aclocal/check-bsps.m4
@@ -11,31 +11,24 @@ AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
AC_MSG_CHECKING([for bsps])
files=`ls $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU`
for file in $files; do
- case $file in
- ChangeLog*);;
- shared*);;
- Makefile*);;
- READ*);;
- CVS*);;
- pxfl*);;
- ac*);;
- config*);;
+ if test -r $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$file/bsp_specs; then
+ case $file in
# Now account for BSPs with build variants
- c4xsim) rtems_bsp="$rtems_bsp c4xsim c3xsim";;
- gen68360) rtems_bsp="$rtems_bsp gen68360 gen68360_040";;
- p4000) rtems_bsp="$rtems_bsp p4600 p4650";;
- mvme162) rtems_bsp="$rtems_bsp mvme162 mvme162lx";;
- mbx8xx) rtems_bsp="$rtems_bsp mbx821_001 mbx860_002";;
- motorola_powerpc) rtems_bsp="$rtems_bsp mvme2307 mcp750";;
- pc386) rtems_bsp="$rtems_bsp pc386 pc386dx pc486 pc586 pc686 pck6";;
- erc32) rtems_bsp="$rtems_bsp erc32 erc32nfp";;
- leon) rtems_bsp="$rtems_bsp leon1 leon2";;
- sim68000) rtems_bsp="$rtems_bsp sim68000 simcpu32";;
- shsim) rtems_bsp="$rtems_bsp simsh7032 simsh7045";;
- *) if test -d $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$file; then
- $1="[$]$1 $file"
- fi;;
- esac;
+ c4xsim) $1="[$]$1 c4xsim c3xsim";;
+ gen68360) $1="[$]$1 gen68360 gen68360_040";;
+ p4000) $1="[$]$1 p4600 p4650";;
+ mvme162) $1="[$]$1 mvme162 mvme162lx";;
+ mbx8xx) $1="[$]$1 mbx821_001 mbx860_002 mbx860_005b";;
+ motorola_powerpc) $1="[$]$1 mvme2307 mcp750";;
+ pc386) $1="[$]$1 pc386 pc386dx pc486 pc586 pc686 pck6";;
+ erc32) $1="[$]$1 erc32 erc32nfp";;
+ leon) $1="[$]$1 leon1 leon2";;
+ score603e) $1="[$]$1 score603e score603e_g1";;
+ sim68000) $1="[$]$1 sim68000 simcpu32";;
+ shsim) $1="[$]$1 simsh7032 simsh7045";;
+ *) $1="[$]$1 $file";;
+ esac;
+ fi
done
AC_MSG_RESULT([[$]$1 .. done])
])dnl