source: rtems/aclocal/check-custom-bsp.m4 @ d387391

4.104.115
Last change on this file since d387391 was d387391, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/23/09 at 13:09:30

2009-10-23 Ralf Corsépius <ralf.corsepius@…>

  • aclocal/check-custom-bsp.m4: Be less verbose.
  • Property mode set to 100644
File size: 436 bytes
RevLine 
[ff65620]1dnl $Id$
2
[504112d]3AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
4AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
5AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
6  $2=
[c14858f0]7  for i in \
[eba5dc6b]8    `ls "${srcdir}/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}"/*/make/custom/$1 2>/dev/null`;
[504112d]9  do
10    AS_IF([test -r $i],[
11      $2="$i"
12      break;
13    ])
14  done
15])
[ff65620]16
[504112d]17AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
[eba5dc6b]18  _RTEMS_CHECK_CUSTOM_BSP([[$]$1],[BSP_FOUND])
[ff65620]19])
Note: See TracBrowser for help on using the repository browser.