qemu/hw/gpio
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
..
bcm2835_gpio.c bcm2835_gpio: add bcm2835 gpio controller 2017-02-28 17:10:00 +00:00
gpio_key.c hw: clean up hw/hw.h includes 2016-05-19 16:42:30 +02:00
imx_gpio.c i.MX: Fix GPIO ISR register write 2016-10-28 15:51:27 +01:00
Kconfig kconfig: introduce kconfig files 2019-03-07 21:45:53 +01:00
Makefile.objs hw/gpio/nrf51_gpio: Add nRF51 GPIO peripheral 2019-01-07 15:23:47 +00:00
max7310.c i2c: have I2C receive operation return uint8_t 2019-02-27 21:06:08 -06:00
mpc8xxx.c hw/gpio: QOM'ify mpc8xxx.c 2017-01-31 10:10:13 +11:00
nrf51_gpio.c hw/gpio/nrf51_gpio: Add nRF51 GPIO peripheral 2019-01-07 15:23:47 +00:00
omap_gpio.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
pl061.c hw/gpio: QOM'ify pl061.c 2016-06-14 15:59:13 +01:00
puv3_gpio.c gpio/puv3_gpio: Convert sysbus init function to realize function 2018-12-13 13:47:58 +00:00
trace-events trace: enforce that every trace-events file has a final newline 2019-01-24 14:16:56 +00:00
zaurus.c hw/gpio: QOM'ify zaurus.c 2016-06-14 15:59:13 +01:00