diff options
| author | Stephen Cprek <smcprek@us.ibm.com> | 2015-04-27 15:02:25 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-09-01 16:18:32 -0500 |
| commit | 4ae690e4eeb9297ed59ff932cc4184d23896234d (patch) | |
| tree | b3205f1b84aff7dbad3f949c78fe6e4c08067368 /src/build/debug/Hostboot | |
| parent | 0795cc6781a4d937786b39c23b655397432ec90e (diff) | |
| download | talos-hostboot-4ae690e4eeb9297ed59ff932cc4184d23896234d.tar.gz talos-hostboot-4ae690e4eeb9297ed59ff932cc4184d23896234d.zip | |
Generalize env vars, env setup, and copyright scripts
Methods ported over from code in EKB.
Change-Id: I26b6f2326314936b0316f64272230730ecd3f9ee
RTC: 126634
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17465
Tested-by: Jenkins Server
Tested-by: Jenkins OP Build CI
Tested-by: Jenkins OP HW
Tested-by: FSP CI Jenkins
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/debug/Hostboot')
| -rwxr-xr-x | src/build/debug/Hostboot/Gcov.pm | 6 | ||||
| -rwxr-xr-x | src/build/debug/Hostboot/_DebugFramework.pm | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/build/debug/Hostboot/Gcov.pm b/src/build/debug/Hostboot/Gcov.pm index 8e4c9c89e..84df2f9f9 100755 --- a/src/build/debug/Hostboot/Gcov.pm +++ b/src/build/debug/Hostboot/Gcov.pm @@ -6,7 +6,9 @@ # # OpenPOWER HostBoot Project # -# COPYRIGHT International Business Machines Corp. 2012,2014 +# Contributors Listed Below - COPYRIGHT 2012,2015 +# [+] International Business Machines Corp. +# # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -317,7 +319,7 @@ sub parseGcovFuncs # The *.gcda filename found in the gcov_info struct is an absolute path to # the corresponding .o file (not the .C file). This is of the form: -# ${HOSTBOOTROOT}/src/usr/module/${ROOTPATH}/obj/${MODULE}/foo.gcda . +# ${PROJECT_ROOT}/src/usr/module/${ROOTPATH}/obj/${MODULE}/foo.gcda . # Since we might not even be running this on the same machine, we need to put # the output into the "output_dir" but we need to strip off a lot of stuff. # The path is going to have an obj in it somewhere so we key off that diff --git a/src/build/debug/Hostboot/_DebugFramework.pm b/src/build/debug/Hostboot/_DebugFramework.pm index b180aa0dc..e516bdb4d 100755 --- a/src/build/debug/Hostboot/_DebugFramework.pm +++ b/src/build/debug/Hostboot/_DebugFramework.pm @@ -250,7 +250,7 @@ sub determineImagePath } else { - $imgPath = $ENV{"HOSTBOOTROOT"} . "/img/"; + $imgPath = $ENV{"PROJECT_ROOT"} . "/img/"; } } |

