From 4ae690e4eeb9297ed59ff932cc4184d23896234d Mon Sep 17 00:00:00 2001 From: Stephen Cprek Date: Mon, 27 Apr 2015 15:02:25 -0500 Subject: 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 --- src/build/simics/combined.simics | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/build/simics') diff --git a/src/build/simics/combined.simics b/src/build/simics/combined.simics index 373494761..0fe3b8fbc 100755 --- a/src/build/simics/combined.simics +++ b/src/build/simics/combined.simics @@ -1,9 +1,9 @@ -#If running in Hostboot Developer Environment, copies patched base -#and extended hostboot images onto the FSP so HWSV will load -#pached versions to PNOR instead of the default images +#If running in Hostboot Developer Environment, copies patched base +#and extended hostboot images onto the FSP so HWSV will load +#pached versions to PNOR instead of the default images #from the FSP the driver. try { - if (python "os.environ.has_key('HOSTBOOTROOT')") { + if (python "os.environ.has_key('PROJECT_ROOT')") { echo "Running Hostboot developer patch commands" $sbbase = (python "os.environ['sb']") $hbsrc_dir = "/host/" + $sbbase + "/hbfw/img/" @@ -17,6 +17,6 @@ try { local $con = fsp2_minicomA.con $con.wait-for-string "C1001FFF" $con.input $hbpatch_cmd - } + } } } except { echo "ERROR: Failed to load tools in combined.simics." } -- cgit v1.2.1