summaryrefslogtreecommitdiffstats
path: root/tools/update/acpolish
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-19 13:19:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-19 13:19:14 +0000
commit196094eb79c6f6f139f7cab82d50f0dd3240f7dd (patch)
treeeb72b10cbbe98238b6231a7183e80b4ac76bd877 /tools/update/acpolish
parent9572c41d0911684bdcd4c3d14c8b19ff8def65b3 (diff)
downloadrtems-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-xtools/update/acpolish15
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" ;