diff --git a/scripts/build/build/target.py b/scripts/build/build/target.py index ac67ed38c4c555..8411ff9432c2c7 100644 --- a/scripts/build/build/target.py +++ b/scripts/build/build/target.py @@ -319,7 +319,7 @@ def ToDict(self): return { 'name': self.name, 'shorthand': self.HumanString(), - 'parts': [part.ToDict() for target in self.fixed_targets for part in target], + 'parts': [[part.ToDict() for part in target] for target in self.fixed_targets], 'modifiers': [part.ToDict() for part in self.modifiers] }