4.115
Last change
on this file since 39aab06a was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24
|
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:
720 bytes
|
Line | |
---|
1 | dnl |
---|
2 | |
---|
3 | dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY) |
---|
4 | dnl Internal subroutine to RTEMS_BSP_ALIAS |
---|
5 | AC_DEFUN([_RTEMS_BSP_ALIAS], |
---|
6 | [# account for "aliased" bsps which share source code |
---|
7 | for bsp_cfgs in `ls "$srcdir"/"$RTEMS_TOPdir"/c/src/lib/libbsp/"$RTEMS_CPU"/*/"make/custom/$1.cfg" 2>/dev/null`; do |
---|
8 | $2=`echo "$bsp_cfgs" | sed \ |
---|
9 | -e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \ |
---|
10 | -e "s,/make/custom/.*\.cfg$,,"` |
---|
11 | break |
---|
12 | done |
---|
13 | ]) |
---|
14 | |
---|
15 | dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY) |
---|
16 | dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY |
---|
17 | AC_DEFUN([RTEMS_BSP_ALIAS], |
---|
18 | [_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]), |
---|
19 | m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))] |
---|
20 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.