diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2012-05-30 22:51:33 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-06-08 14:25:44 -0500 |
commit | ad6cf41f0adc544fb8dacae893fa25b57ba2cf82 (patch) | |
tree | d4cb851443c4fcc25e647af6876b1ff8e70dda44 /src/build/tools/hb | |
parent | f9df2e083971910e20fe47bfe3c117b7df9db6da (diff) | |
download | talos-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/tools/hb')
-rwxr-xr-x | src/build/tools/hb | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/build/tools/hb b/src/build/tools/hb index 5714bfb5a..f605f5c9e 100755 --- a/src/build/tools/hb +++ b/src/build/tools/hb @@ -6,7 +6,7 @@ # # IBM CONFIDENTIAL # -# COPYRIGHT International Business Machines Corp. 2011 +# COPYRIGHT International Business Machines Corp. 2011-2012 # # p1 # @@ -20,8 +20,7 @@ # # Origin: 30 # -# IBM_PROLOG_END - +# IBM_PROLOG_END_TAG execute_in_sandbox() { [ -z "${SANDBOXBASE}" ] && echo "Missing SANDBOXBASE." && exit -1 @@ -264,8 +263,7 @@ hb_prime() echo "Sandbox does not exist. Create with 'hb simsetup." exit -1 fi - needs_machine_variable - cpfiles.pl $* + hbDistribute $* else echo "SANDBOXBASE not set." exit -1 @@ -309,8 +307,6 @@ hb_simsetup() execute_in_sandbox "export BACKING_BUILD=\$bb && ./workarounds.postsimsetup" "ppc" rm ${SANDBOXBASE}/src/workarounds.postsimsetup - mkdir -p ${SANDBOXBASE}/images/ppc/lab/flash - # Put a starter copy of errl to simics directory; refresh w/ "hb errlparser" cd ${SANDBOXBASE}/simics ln -sf ${DRIVER}/obj/x86.nfp/errl/nfp/tool/errl |