source: rtems/aclocal/bsp-alias.m4 @ e1664027

Last change on this file since e1664027 was bbb69abb, checked in by Ralf Corsépius <ralf.corsepius@…>, on May 18, 2012 at 5:24:47 AM

Remove stray dnl.

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