Philippe Mathieu-Daudé <phi...@linaro.org> writes: > CpuModelInfo, CpuModelExpansionType and CpuModelCompareResult > are not restricted to any particular target. Define them in > machine.json to generate them once. > > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Well, the stuff in machine-target.json is generated once just fine. But that single copy is then compiled once per target. On the one hand, less target-specific code is good. On the other hand, I'm reluctant to move these types away from their users.