summaryrefslogtreecommitdiffstats
path: root/src/build/tools/hb
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/tools/hb')
-rwxr-xr-xsrc/build/tools/hb8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/build/tools/hb b/src/build/tools/hb
index 9b9d51392..2a2f2e930 100755
--- a/src/build/tools/hb
+++ b/src/build/tools/hb
@@ -259,7 +259,7 @@ hb_simsetup()
mksb -rc ${SANDBOXRC} -dir ${SANDBOXROOT} -back $DRIVER \
-sb ${SANDBOXNAME} -m ppc
- execute_in_sandbox "start_simics -no_start -machine ${MACHINE:-SALERNO}"
+ execute_in_sandbox "start_simics -no_start -machine ${MACHINE:-$DEFAULT_MACHINE}"
echo "Running workarounds."
cp ${HOSTBOOTROOT}/src/build/citest/etc/workarounds ${SANDBOXBASE}/src
@@ -291,7 +291,7 @@ hb_startsimics()
fi
execute_in_sandbox \
- "start_simics -machine ${MACHINE:-SALERNO} ${SIMICSOPTIONS} $*"
+ "start_simics -machine ${MACHINE:-$DEFAULT_MACHINE} ${SIMICSOPTIONS} $*"
}
hb_rsync()
@@ -336,6 +336,10 @@ fi
FIRST_PARAM=$1
shift
+MACHINE=${MACHINE:-$DEFAULT_MACHINE}
+export MACHINE
+echo "Setting up for Machine = $MACHINE"
+
case ${FIRST_PARAM} in
workon)
hb_workon $*
OpenPOWER on IntegriCloud