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

4.115
Last change on this file since 33a105fb was 33a105fb, checked in by Joel Sherrill <joel.sherrill@…>, on 05/07/12 at 16:08:48

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: 534 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  for i in ${rtems_rootdir}make/custom/$1;
7  do
8    AC_MSG_CHECKING([for $i])
9    AS_IF([test -r $i],[
10      $2="$i"
11      AC_MSG_RESULT([yes])
12      break;
13    ],[
14      AC_MSG_RESULT([no])
15    ])
16  done
17])
18
19AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
20  _RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND])
21  AS_IF([test -z "$BSP_FOUND"],[
22    AC_MSG_ERROR([missing [$]$1.cfg])
23  ])
24])
Note: See TracBrowser for help on using the repository browser.