[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 12/25] build: convert usb.mak to Kconfig
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [RFC PATCH 12/25] build: convert usb.mak to Kconfig |
Date: |
Fri, 4 Jan 2019 14:31:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 2018-12-27 07:34, Yang Zhong wrote:
> From: Paolo Bonzini <address@hidden>
>
> Instead of including the same list of devices for each target,
> let the host controllers select CONFIG_USB and make the devices
> default to present whenever USB is available.
>
> Done with the following script:
> while read i; do
> i=${i%=y}; i=${i#CONFIG_}
> sed -i -e'/^config '$i'$/!b' -en \
> -e'a\' -e' default y\' -e' depends on USB' \
> `grep -lw $i hw/*/Kconfig`
> done < default-configs/usb.mak
>
> followed by adding "select USB" on the host controllers.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> Signed-off-by: Yang Zhong <address@hidden>
> ---
> default-configs/i386-softmmu.mak | 1 -
> default-configs/usb.mak | 11 -----------
> hw/usb/Kconfig | 26 ++++++++++++++++++++++++++
> 3 files changed, 26 insertions(+), 12 deletions(-)
> delete mode 100644 default-configs/usb.mak
Reviewed-by: Thomas Huth <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [RFC PATCH 12/25] build: convert usb.mak to Kconfig,
Thomas Huth <=