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

4.104.115
Last change on this file since ea2b19d 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
Line 
1dnl $Id$
2
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=
7  for i in \
8    `ls "${srcdir}/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}"/*/make/custom/$1 2>/dev/null`;
9  do
10    AS_IF([test -r $i],[
11      $2="$i"
12      break;
13    ])
14  done
15])
16
17AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
18  _RTEMS_CHECK_CUSTOM_BSP([[$]$1],[BSP_FOUND])
19])
Note: See TracBrowser for help on using the repository browser.