[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 32/52] kconfig: introduce kconfig files
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 32/52] kconfig: introduce kconfig files |
Date: |
Thu, 31 Jan 2019 14:37:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 31/01/19 14:21, Thomas Huth wrote:
> On 2019-01-25 11:06, Paolo Bonzini wrote:
> [...]
>> diff --git a/hw/misc/macio/Kconfig b/hw/misc/macio/Kconfig
>> new file mode 100644
>> index 0000000..c6caeb6
>> --- /dev/null
>> +++ b/hw/misc/macio/Kconfig
>> @@ -0,0 +1,11 @@
>> +config CUDA
>> + bool
>> +
>> +config MAC_PMU
>> + bool
>> +
>> +config MAC_DBDMA
>> + bool
>> +
>> +config MACIO_GPIO
>> + bool
> [...]
>> diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig
>> new file mode 100644
>> index 0000000..9da9d7d
>> --- /dev/null
>> +++ b/hw/ppc/Kconfig
> [...]
>> +
>> +config MAC_DBDMA
>> + bool
>> +
>> +config MAC_PMU
>> + bool
>> +
>> +config XIVE
>> + bool
>> +
>> +config MACIO_GPIO
>> + bool
>> +
>> +config XIVE_SPAPR
>> + bool
>> +
>> +config CUDA
>> + bool
>
> I just noticed that the config switches from hw/misc/macio/Kconfig are
> duplicated here. Kind of ugly. Would it be possible to define them only
> in one place?
Yes, of course. It's also a good idea to detect duplicate "config"
directives.
Paolo
- [Qemu-devel] [PATCH 40/52] scsi: express dependencies with Kconfig, (continued)
- [Qemu-devel] [PATCH 40/52] scsi: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 39/52] build: convert usb.mak to Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 43/52] i2c: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 46/52] hyperv: express dependencies with kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 48/52] virtio: express virtio dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 49/52] tpm: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 38/52] build: convert sound.mak to Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 36/52] hw/pci/Makefile.objs: make pcie configurable, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 32/52] kconfig: introduce kconfig files, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 47/52] vfio: express vfio dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 44/52] ptimer: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 45/52] display: express dependencies with kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 42/52] i386: express dependencies with Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 37/52] build: convert pci.mak to Kconfig, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 51/52] i386-softmmu.mak: remove all CONFIG_* except boards definitions, Paolo Bonzini, 2019/01/25
- [Qemu-devel] [PATCH 41/52] isa: express dependencies with kconfig, Paolo Bonzini, 2019/01/25