integration/soc_core: Add default value to soc_core_argdict/ident_version.
This commit is contained in:
parent
310bc777b4
commit
c0f31dc843
|
@ -315,7 +315,7 @@ def soc_core_argdict(args):
|
||||||
arg = not getattr(args, a.replace("with", "no"), True)
|
arg = not getattr(args, a.replace("with", "no"), True)
|
||||||
# Handle specific ident_version case (--no-ident-version is exposed).
|
# Handle specific ident_version case (--no-ident-version is exposed).
|
||||||
elif a in ["ident_version"]:
|
elif a in ["ident_version"]:
|
||||||
arg = not getattr(args, "no_ident_version")
|
arg = not getattr(args, "no_ident_version", True)
|
||||||
# Regular cases.
|
# Regular cases.
|
||||||
else:
|
else:
|
||||||
arg = getattr(args, a, None)
|
arg = getattr(args, a, None)
|
||||||
|
|
Loading…
Reference in New Issue