[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 05/51] kconfig: introduce kconfig files
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 05/51] kconfig: introduce kconfig files |
Date: |
Wed, 20 Feb 2019 16:46:32 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 20/02/19 16:42, Thomas Huth wrote:
> On 07/02/2019 18.56, Paolo Bonzini wrote:
>> 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 <address@hidden>
>> Signed-off-by: Yang Zhong <address@hidden>
>> Message-Id: <address@hidden>
>> Signed-off-by: Paolo Bonzini <address@hidden>
>> ---
> [...]
>> diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
>> new file mode 100644
>> index 0000000..64cd698
>> --- /dev/null
>> +++ b/hw/arm/Kconfig
>> @@ -0,0 +1,119 @@
>> +config ARM_VIRT
>> + bool
>> +
>> +config DIGIC
>> + bool
>> +
>> +config EXYNOS4
>> + bool
>> +
>> +config HIGHBANK
>> + bool
>> +
>> +config INTEGRATOR
>> + bool
>> +
>> +config MAINSTONE
>> + bool
>> +
>> +config MUSICPAL
>> + bool
>> +
>> +config NETDUINO2
>> + bool
>> +
>> +config NSERIES
>> + bool
>> +
>> +config OMAP
>> + bool
>> +
>> +config PXA2XX
>> + bool
>> +
>> +config REALVIEW
>> + bool
>> +
>> +config STELLARIS
>> + bool
>> +
>> +config STRONGARM
>> + bool
>> +
>> +config VERSATILE
>> + bool
>> +
>> +config ZYNQ
>> + bool
>> +
>> +config ARM_V7M
>> + bool
>> +
>> +config EXYNOS4
>> + bool
>
> I just noticed: EXYNOS4 is defined twice in this file (it's also the
> third entry from the top). You can remove one of those.
>
>> +config ALLWINNER_A10
>> + bool
>> +
>> +config RASPI
>> + bool
>> +
>> +config STM32F205_SOC
>> + bool
>> +
>> +config XLNX_ZYNQMP_ARM
>> + bool
>> +
>> +config XLNX_VERSAL
>> + bool
>> +
>> +config FSL_IMX25
>> + bool
>> +
>> +config FSL_IMX31
>> + bool
>> +
>> +config FSL_IMX6
>> + bool
>> +
>> +config ASPEED_SOC
>> + bool
>> +
>> +config MPS2
>> + bool
>> +
>> +config IOTKIT
>> + bool
>
> Are we using IOTKIT anywhere?
It's been renamed to ARMSSE. I'll fix both.
Paolo
- [Qemu-devel] [PATCH 17/51] i386: express dependencies with Kconfig, (continued)
- [Qemu-devel] [PATCH 17/51] i386: express dependencies with Kconfig, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 11/51] build: convert pci.mak to Kconfig, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 21/51] hyperv: express dependencies with kconfig, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 03/51] minikconfig: add semantic analysis, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 24/51] tpm: express dependencies with Kconfig, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 18/51] i2c: express dependencies with Kconfig, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 19/51] ptimer: express dependencies with Kconfig, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 05/51] kconfig: introduce kconfig files, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 20/51] display: express dependencies with kconfig, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 27/51] sd: express dependencies with kconfig, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 28/51] ipmi: express dependencies with kconfig, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 22/51] vfio: express vfio dependencies with Kconfig, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 23/51] virtio: express virtio dependencies with Kconfig, Paolo Bonzini, 2019/02/07
- [Qemu-devel] [PATCH 25/51] isa: express SuperIO dependencies with Kconfig, Paolo Bonzini, 2019/02/07