build/parser: Fix CPU's args_read.

This commit is contained in:
Florent Kermarrec 2022-11-06 21:51:29 +01:00
parent 621c5cc187
commit 3b4bb083d4
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class LiteXArgumentParser(argparse.ArgumentParser):
# Re-inject CPU read arguments.
if cpu_cls is not None and hasattr(cpu_cls, "args_read"):
cpu_cls.args_read(args)
cpu_cls.args_read(self._args)
return self._args