qemu/hw
Paolo Bonzini 82f5181777 kconfig: introduce kconfig files
The Kconfig files were generated mostly with this script:

  for i in `grep -ho CONFIG_[A-Z0-9_]* default-configs/* | sort -u`; do
    set fnord `git grep -lw $i -- 'hw/*/Makefile.objs' `
    shift
    if test $# = 1; then
      cat >> $(dirname $1)/Kconfig << EOF
config ${i#CONFIG_}
    bool

EOF
      git add $(dirname $1)/Kconfig
    else
      echo $i $*
    fi
  done
  sed -i '$d' hw/*/Kconfig
  for i in hw/*; do
    if test -d $i && ! test -f $i/Kconfig; then
      touch $i/Kconfig
      git add $i/Kconfig
    fi
  done

Whenever a symbol is referenced from multiple subdirectories, the
script prints the list of directories that reference the symbol.
These symbols have to be added manually to the Kconfig files.

Kconfig.host and hw/Kconfig were created manually.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20190123065618.3520-27-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-03-07 21:45:53 +01:00
..
9pfs kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
acpi kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
adc kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
alpha kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
arm kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
audio kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
block kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
bt kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
char kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
core kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
cpu kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
cris kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
display kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
dma kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
gpio kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
hppa kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
hyperv kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
i2c kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
i386 kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
ide kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
input kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
intc kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
ipack kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
ipmi kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
isa kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
lm32 kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
m68k kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
mem kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
microblaze kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
mips kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
misc kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
moxie kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
net kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
nios2 kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
nvram kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
openrisc kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
pci kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
pci-bridge kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
pci-host kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
pcmcia kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
ppc kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
rdma hw/rdma: modify struct initialization 2019-01-19 11:01:33 +02:00
riscv kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
s390x kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
scsi kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
sd kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
sh4 kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
smbios kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
sparc kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
sparc64 kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
ssi kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
timer kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
tpm kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
tricore kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
unicore32 kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
usb kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
vfio kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
virtio kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
watchdog kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
xen xen: fix xen-bus state model to allow frontend re-connection 2019-02-04 11:04:49 +00:00
xenpv xen: Replace few mentions of xend by libxl 2019-01-14 13:45:40 +00:00
xtensa kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
Kconfig kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
Makefile.objs 9pfs: remove unnecessary conditionals 2019-03-07 21:45:53 +01:00