systemc: config: Don't inject a custom argv in sc_main.py.
argv is already part of sys.argv, so we don't need to add an
additional argument in front of sys.argv.
The argv which is used in gem5 config scripts is the name of the
config script itself. While it might seem a little odd for the name of
a systemc program to end in .py, it's as arbitrary as any other name,
and generally shouldn't cause a problem. If some other more
sophisticated mechanism for setting argv is necessary, then the user
can write a very slightly more complicated version of this script with
Reviewed-by: Jason Lowe-Power <email@example.com>
Maintainer: Gabe Black <firstname.lastname@example.org>
1 file changed