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

4.11
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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