summaryrefslogtreecommitdiff
path: root/configs/example/se.py
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2010-12-07 16:19:57 -0800
committerAli Saidi <Ali.Saidi@ARM.com>2010-12-07 16:19:57 -0800
commit18555c1b56b27604bbb8e59302ad6ffa0d799534 (patch)
treec5c0dd5cde6be819370943caccddd81393ef3a42 /configs/example/se.py
parent42ba158479c3feed12335958684200de8b6d2ece (diff)
downloadgem5-18555c1b56b27604bbb8e59302ad6ffa0d799534.tar.xz
Configs: Automatically choose the correct hello world binary.
Diffstat (limited to 'configs/example/se.py')
-rw-r--r--configs/example/se.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/example/se.py b/configs/example/se.py
index a249f46dd..7cf11603e 100644
--- a/configs/example/se.py
+++ b/configs/example/se.py
@@ -59,7 +59,8 @@ parser = optparse.OptionParser()
# Benchmark options
parser.add_option("-c", "--cmd",
- default=joinpath(m5_root, "tests/test-progs/hello/bin/alpha/linux/hello"),
+ default=joinpath(m5_root, "tests/test-progs/hello/bin/%s/linux/hello" % \
+ buildEnv['TARGET_ISA']),
help="The binary to run in syscall emulation mode.")
parser.add_option("-o", "--options", default="",
help='The options to pass to the binary, use " " around the entire string')