]> git.proxmox.com Git - mirror_qemu.git/commit
minikconfig: implement allnoconfig and defconfig modes
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 23 Jan 2019 06:56:17 +0000 (14:56 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Mar 2019 20:45:53 +0000 (21:45 +0100)
commitf349474920d80838ecea3d421531fdb0660b8740
treef548d03d0ce3a32f60daa016ef9c507346910877
parente0e312f3525ad6ac18ba6633af29190dd9620cbc
minikconfig: implement allnoconfig and defconfig modes

Apart from defconfig (which is a no-op),
allyesconfig/allnoconfig/randcondfig can be implemented simply by ignoring
the RHS of assignments and "default" statements.  The RHS is replaced
respectively by "true", "false" or a random value.

However, allyesconfig and randconfig do not quite work, because all the
files for hw/ARCH/Kconfig are sourced and therefore you could end up
enabling some ARM boards in x86 or things like that.  This is left for
future work, but I am leaving it in to help debugging minikconf itself.

allnoconfig mode is tied to a new configure option, --without-default-devices.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile
configure
scripts/minikconf.py