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>
Showing
- Kconfig.host 26 additions, 0 deletionsKconfig.host
- hw/9pfs/Kconfig 2 additions, 0 deletionshw/9pfs/Kconfig
- hw/Kconfig 68 additions, 0 deletionshw/Kconfig
- hw/acpi/Kconfig 20 additions, 0 deletionshw/acpi/Kconfig
- hw/adc/Kconfig 2 additions, 0 deletionshw/adc/Kconfig
- hw/alpha/Kconfig 2 additions, 0 deletionshw/alpha/Kconfig
- hw/arm/Kconfig 119 additions, 0 deletionshw/arm/Kconfig
- hw/audio/Kconfig 35 additions, 0 deletionshw/audio/Kconfig
- hw/block/Kconfig 29 additions, 0 deletionshw/block/Kconfig
- hw/bt/Kconfig 2 additions, 0 deletionshw/bt/Kconfig
- hw/char/Kconfig 32 additions, 0 deletionshw/char/Kconfig
- hw/core/Kconfig 11 additions, 0 deletionshw/core/Kconfig
- hw/cpu/Kconfig 8 additions, 0 deletionshw/cpu/Kconfig
- hw/cris/Kconfig 5 additions, 0 deletionshw/cris/Kconfig
- hw/display/Kconfig 77 additions, 0 deletionshw/display/Kconfig
- hw/dma/Kconfig 20 additions, 0 deletionshw/dma/Kconfig
- hw/gpio/Kconfig 8 additions, 0 deletionshw/gpio/Kconfig
- hw/hppa/Kconfig 2 additions, 0 deletionshw/hppa/Kconfig
- hw/hyperv/Kconfig 5 additions, 0 deletionshw/hyperv/Kconfig
- hw/i2c/Kconfig 20 additions, 0 deletionshw/i2c/Kconfig
Kconfig.host
0 → 100644
hw/9pfs/Kconfig
0 → 100644
hw/Kconfig
0 → 100644
hw/acpi/Kconfig
0 → 100644
hw/adc/Kconfig
0 → 100644
hw/alpha/Kconfig
0 → 100644
hw/arm/Kconfig
0 → 100644
hw/audio/Kconfig
0 → 100644
hw/block/Kconfig
0 → 100644
hw/bt/Kconfig
0 → 100644
hw/char/Kconfig
0 → 100644
hw/core/Kconfig
0 → 100644
hw/cpu/Kconfig
0 → 100644
hw/cris/Kconfig
0 → 100644
hw/display/Kconfig
0 → 100644
hw/dma/Kconfig
0 → 100644
hw/gpio/Kconfig
0 → 100644
hw/hppa/Kconfig
0 → 100644
hw/hyperv/Kconfig
0 → 100644
hw/i2c/Kconfig
0 → 100644
Please register or sign in to comment