summaryrefslogtreecommitdiffstats
path: root/src/build/debug/Hostboot
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-05-30 22:51:33 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-06-08 14:25:44 -0500
commitad6cf41f0adc544fb8dacae893fa25b57ba2cf82 (patch)
treed4cb851443c4fcc25e647af6876b1ff8e70dda44 /src/build/debug/Hostboot
parentf9df2e083971910e20fe47bfe3c117b7df9db6da (diff)
downloadtalos-hostboot-ad6cf41f0adc544fb8dacae893fa25b57ba2cf82.tar.gz
talos-hostboot-ad6cf41f0adc544fb8dacae893fa25b57ba2cf82.zip
Improve distribution mechanism for FSP delivery.
Replaced 'cpfiles' with a set of makefiles that does all of the old function and also allows more complex behaviors such as creating a TAR file of all our common code. Moved the delivery location of our content into a simics sandbox to match the locations in an FSP build. Updated debug tools to handle living in a different location. Removed 'post_model_hook.simics' and replaced with the {startup,standalone,combined}.simics files. Updated various scripts that were calling 'cpfiles' to instead call 'hbDistribute' (which in turn calls the makefiles). RTC: 41640 Change-Id: I10d1782ae89a397725e880c44ba44d01b0e4b011 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1173 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/debug/Hostboot')
-rwxr-xr-xsrc/build/debug/Hostboot/_DebugFramework.pm18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/build/debug/Hostboot/_DebugFramework.pm b/src/build/debug/Hostboot/_DebugFramework.pm
index 6b7ee622a..e5a811867 100755
--- a/src/build/debug/Hostboot/_DebugFramework.pm
+++ b/src/build/debug/Hostboot/_DebugFramework.pm
@@ -6,7 +6,7 @@
#
# IBM CONFIDENTIAL
#
-# COPYRIGHT International Business Machines Corp. 2011 - 2012
+# COPYRIGHT International Business Machines Corp. 2011-2012
#
# p1
#
@@ -85,7 +85,13 @@ sub callToolModule
my $tool = shift;
my $package = "Hostboot::$tool";
- eval("use lib '.'; use $package; return 1;") or
+ my $tool_loc = ".";
+ if (exists &::getToolOverride)
+ {
+ $tool_loc = ::getToolOverride();
+ }
+
+ eval("use lib '$tool_loc'; use $package; return 1;") or
die "Couldn't load tool \"$tool\":\n\t$@";
eval("$package->main(\\%toolOpts);");
die $@ if $@;
@@ -146,7 +152,13 @@ sub callToolModuleHelpInfo
my $tool = shift;
my $package = "Hostboot::$tool";
- eval("use lib '.'; use $package; return 1;") or
+ my $tool_loc = ".";
+ if (exists &::getToolOverride)
+ {
+ $tool_loc = ::getToolOverride();
+ }
+
+ eval("use lib '$tool_loc'; use $package; return 1;") or
die "Couldn't load tool \"$tool\":\n\t$@";
my %info = eval("$package->helpInfo(\\%toolOpts);");
die $@ if $@;
OpenPOWER on IntegriCloud