changeset af976dd0c6e7 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=af976dd0c6e7
description:
        Configs: Automatically choose the correct hello world binary.

diffstat:

 configs/example/se.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r bafa8a197088 -r af976dd0c6e7 configs/example/se.py
--- a/configs/example/se.py     Tue Dec 07 16:19:57 2010 -0800
+++ b/configs/example/se.py     Tue Dec 07 16:19:57 2010 -0800
@@ -59,7 +59,8 @@
 
 # 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')
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to