Here's now my stab at expressing the ppc machine dependencies with Kconfig. I've carefully stepped through the dependencies and tried to built each machine separately (which should be possible now, apart from some few quirks like the RTAS dependency in qtest.c which I will address later).
v2: Adressed review feedback from v1 Based-on: 1548410831-19553-1-git-send-email-pbonz...@redhat.com Thomas Huth (5): ppc64: Express dependencies of 'pseries' and 'powernv' machines with kconfig ppc: Express dependencies of the 'prep' and '40p' machines with kconfig ppc: Express dependencies of the Mac machines with kconfig ppc: Express dependencies of the Sam460EX machines with kconfig ppc: Express dependencies of the embedded machines with kconfig default-configs/ppc-softmmu.mak | 51 +++-------------------------------- default-configs/ppc64-softmmu.mak | 8 ------ hw/display/Kconfig | 1 + hw/intc/Kconfig | 6 ++--- hw/mem/Kconfig | 1 + hw/misc/Kconfig | 6 +++++ hw/net/Kconfig | 2 ++ hw/nvram/Kconfig | 2 ++ hw/pci-host/Kconfig | 4 ++- hw/ppc/Kconfig | 57 ++++++++++++++++++++++++++++++++++++--- hw/usb/Kconfig | 2 +- 11 files changed, 75 insertions(+), 65 deletions(-) -- 1.8.3.1