Hi, > Yes, I really like your approach, makes more sense indeed. But, how do I > get the core modules that other modules depend on? > > I see that Kconfig already has something in this line: > > config VGA (from hw/display) > bool > > config PCI (from hw/pci) > bool > > config QXL (from hw/display) > bool > depends on SPICE && PCI > select VGA > > I assume that independent entries (like VGA and PCI) are core and that I > can rely on it to add > module_need(PCI) > module_need(VGA) > for hw-display-qxl. Am I right?
Yes, looking at kconfig for core dependencies makes sense. take care, Gerd