diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-19 13:19:14 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-19 13:19:14 +0000 |
commit | 196094eb79c6f6f139f7cab82d50f0dd3240f7dd (patch) | |
tree | eb72b10cbbe98238b6231a7183e80b4ac76bd877 /tools/update | |
parent | Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>: (diff) | |
download | rtems-196094eb79c6f6f139f7cab82d50f0dd3240f7dd.tar.bz2 |
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This one is an enhancement to acpolish.
It replaces some Makefile variables by others variable in Makefile.ins
(tries to use unique name for some variables). It therefore eases
parsing Makefile.ins for further automatic Makefile.in conversions in
future.
To apply:
cd <rtems-source-tree>
sh <path-to>/rtems-rc-19990407-8.sh
./autogen
Diffstat (limited to '')
-rwxr-xr-x | tools/update/acpolish | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/update/acpolish b/tools/update/acpolish index 485ba2131c..d348bf9ae6 100755 --- a/tools/update/acpolish +++ b/tools/update/acpolish @@ -67,6 +67,21 @@ while( <> ) $nl_seen = $nl_seen+1; } + if ( /^(.*)\$\(RTEMS_BSP\)(.*)$/o ) + { + $_ = "$1\$\{RTEMS_BSP\}$2\n" ; + } + + if ( /^(.*)\$\(PROJECT_ROOT\)\/\$\{RTEMS_BSP\}\/lib\/include(.*)$/o ) + { + $_ = "$1\$\(PROJECT_INCLUDE\)$2\n" ; + } + + if ( /^(.*)\$\{PROJECT_RELEASE\}(.*)$/o ) + { + $_ = "$1\$\{PROJECT_RELEASE\}$2\n" ; + } + if ( /^[ ]*srcdir[ ]*=.*$/o ) { print "\@SET_MAKE\@\n" ; |