cores/cpu: use standard+debug variant when only debug is specified.

This commit is contained in:
Florent Kermarrec 2020-02-18 16:59:55 +01:00
parent ae45be4773
commit 00895518e5
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ def check_format_cpu_variant(variant):
# Support the old style which used underscore for separator
if variant is None:
variant = "standard"
if variant == "debug":
variant = "standard+debug"
variant = variant.replace('_', '+')
# Check for valid CPU variants.