On 08/02/19 18:33, Mark Cave-Ayland wrote: >> +# Uncomment the following lines to disable these optional devices: >> +# >> +#CONFIG_TCX=n >> +#CONFIG_CG3=n > What do you mean by optional here? The video card that is selected is > built-in to the > machine so is this comment eluding to a headless sun4m machine started with > -nodefaults or similar? >
Yes, it means that you can build a QEMU without those, for example if you want to have only cg3 or you are okay with requiring -nodefaults. Basically if there is a way to run QEMU without those devices, they are marked as optional (and use "imply" rather than "select"). Later on we might have a way to autogenerate these .mak files, and add a help message to the Kconfig files that will be copied in the .mak files. For now, if it breaks you keep both pieces, but at least we guarantee that disabling optional devices will still result in a QEMU that starts the machine with -nodefaults. Paolo