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

4.104.115
Last change on this file since 2627c96 was eba5dc6b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/17/09 at 15:53:40

Remove "${srcdir}/${RTEMS_TOPdir}/make/custom/$1".

  • Property mode set to 100644
File size: 548 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  AC_MSG_CHECKING([for $1])
8  for i in \
9    `ls "${srcdir}/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}"/*/make/custom/$1 2>/dev/null`;
10  do
11    AS_IF([test -r $i],[
12      $2="$i"
13      break;
14    ])
15  done
16  AS_IF([test -n "[$]$2"],
17    [AC_MSG_RESULT([[$]$2])],
18    [AC_MSG_RESULT([no])])
19])
20
21AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
22  _RTEMS_CHECK_CUSTOM_BSP([[$]$1],[BSP_FOUND])
23])
Note: See TracBrowser for help on using the repository browser.