mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-05 02:20:30 +00:00
runfvp: drop --parameter, users can use -- --parameter
Now that arbitrary parameters can be passed to the FVP binary, runfvp doesn't need to handle --parameter itself. Anyone using runfvp --parameter should simply use runfvp -- --parameter. Change-Id: I8a79200fe927c253308731e7e0cb228e53cd989a Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -44,7 +44,6 @@ def runfvp(args):
|
||||
group = parser.add_mutually_exclusive_group()
|
||||
group.add_argument("-t", "--terminals", choices=terminal_map.keys(), default="xterm", help="Automatically start terminals")
|
||||
group.add_argument("-c", "--console", action="store_true", help="Attach the first uart to stdin/stdout")
|
||||
parser.add_argument("-C", "--parameter", action="append", default=[], help="Extra configuration parameters for FVP")
|
||||
parser.add_argument("--verbose", action="store_true", help="Output verbose logging")
|
||||
parser.usage = f"{parser.format_usage().strip()} -- [ arguments passed to FVP ]"
|
||||
# TODO option for telnet vs netcat
|
||||
@@ -129,10 +128,6 @@ def runfvp(args):
|
||||
|
||||
cli.extend(config["args"])
|
||||
|
||||
# Add any explicit --parameter calls
|
||||
for param in args.parameter:
|
||||
cli.extend(["--parameter", param])
|
||||
|
||||
# Finally add the user's extra arguments
|
||||
cli.extend(fvp_args)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user