source: rtems/c/src/aclocal/bsp-alias.m4 @ 8fbe2e6

4.115
Last change on this file since 8fbe2e6 was 65c6425, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 17:24:46

Remove CVS Id Strings (manual edits after script)

These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.

  • Property mode set to 100644
File size: 714 bytes
Line 
1dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
2dnl Internal subroutine to RTEMS_BSP_ALIAS
3AC_DEFUN([_RTEMS_BSP_ALIAS],
4[# account for "aliased" bsps which share source code
5      for bsp_cfgs in `ls "$srcdir"/"$RTEMS_TOPdir"/c/src/lib/libbsp/"$RTEMS_CPU"/*/"make/custom/$1.cfg" 2>/dev/null`; do
6        $2=`echo "$bsp_cfgs" | sed \
7          -e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
8          -e "s,/make/custom/.*\.cfg$,,"`
9        break
10      done
11])
12
13dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
14dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
15AC_DEFUN([RTEMS_BSP_ALIAS],
16[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
17  m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
18)
Note: See TracBrowser for help on using the repository browser.