qemu/hw/char
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
..
Kconfig kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
Makefile.objs
bcm2835_aux.c
cadence_uart.c
cmsdk-apb-uart.c
debugcon.c
digic-uart.c
escc.c
etraxfs_ser.c
exynos4210_uart.c
grlib_apbuart.c
imx_serial.c
ipoctal232.c
lm32_juart.c
lm32_uart.c
mcf_uart.c
milkymist-uart.c
nrf51_uart.c
omap_uart.c char: allow specifying a GMainContext at opening time 2019-02-13 14:23:39 +01:00
parallel-isa.c
parallel.c
pl011.c hw/char/pl011: Use '0x' prefix when logging hex numbers 2019-02-21 18:17:46 +00:00
sclpconsole-lm.c
sclpconsole.c
serial-isa.c
serial-pci.c
serial.c qmp hmp: Make system_wakeup check wake-up support and run state 2018-12-18 07:55:47 +01:00
sh_serial.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
spapr_vty.c
stm32f2xx_usart.c hw/char/stm32f2xx_usart: Do not update data register when device is disabled 2019-01-21 10:23:10 +00:00
terminal3270.c terminal3270: do not use backend timer sources 2019-02-13 16:46:39 +01:00
trace-events
virtio-console.c
virtio-serial-bus.c qdev: pass an Object * to qbus_set_hotplug_handler() 2019-02-17 21:54:02 +11:00
xen_console.c char: allow specifying a GMainContext at opening time 2019-02-13 14:23:39 +01:00
xilinx_uartlite.c