diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2010-12-07 16:19:57 -0800 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2010-12-07 16:19:57 -0800 |
commit | 18555c1b56b27604bbb8e59302ad6ffa0d799534 (patch) | |
tree | c5c0dd5cde6be819370943caccddd81393ef3a42 /configs/example | |
parent | 42ba158479c3feed12335958684200de8b6d2ece (diff) | |
download | gem5-18555c1b56b27604bbb8e59302ad6ffa0d799534.tar.xz |
Configs: Automatically choose the correct hello world binary.
Diffstat (limited to 'configs/example')
-rw-r--r-- | configs/example/se.py | 3 |
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') |