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

4.11
Last change on this file since 33a105fb was 33a105fb, checked in by Joel Sherrill <joel.sherrill@…>, on May 7, 2012 at 4:08:48 PM

Revert: Remove CVS Ids

See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.

  • 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.