From 18555c1b56b27604bbb8e59302ad6ffa0d799534 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Tue, 7 Dec 2010 16:19:57 -0800 Subject: [PATCH] Configs: Automatically choose the correct hello world binary. --- configs/example/se.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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')