[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 03/52] vfio: move conditional up to hw/Makefile.
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH 03/52] vfio: move conditional up to hw/Makefile.objs |
Date: |
Fri, 25 Jan 2019 16:04:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 2019-01-25 11:06, Paolo Bonzini wrote:
> Instead of wrapping the entire Makefile.objs with an ifeq/endif, just
> include the directory only for Linux.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> hw/Makefile.objs | 2 +-
> hw/vfio/Makefile.objs | 2 --
> 2 files changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/hw/Makefile.objs b/hw/Makefile.objs
> index 39d882a..22dd211 100644
> --- a/hw/Makefile.objs
> +++ b/hw/Makefile.objs
> @@ -30,7 +30,7 @@ devices-dirs-$(CONFIG_SOFTMMU) += ssi/
> devices-dirs-$(CONFIG_SOFTMMU) += timer/
> devices-dirs-$(CONFIG_TPM) += tpm/
> devices-dirs-$(CONFIG_SOFTMMU) += usb/
> -devices-dirs-$(CONFIG_SOFTMMU) += vfio/
> +devices-dirs-$(CONFIG_LINUX) += vfio/
> devices-dirs-$(CONFIG_SOFTMMU) += virtio/
> devices-dirs-$(CONFIG_SOFTMMU) += watchdog/
> devices-dirs-$(CONFIG_SOFTMMU) += xen/
> diff --git a/hw/vfio/Makefile.objs b/hw/vfio/Makefile.objs
> index 8b3f664..9180589 100644
> --- a/hw/vfio/Makefile.objs
> +++ b/hw/vfio/Makefile.objs
> @@ -1,4 +1,3 @@
> -ifeq ($(CONFIG_LINUX), y)
> obj-$(CONFIG_SOFTMMU) += common.o
> obj-$(CONFIG_PCI) += pci.o pci-quirks.o display.o
> obj-$(CONFIG_VFIO_CCW) += ccw.o
> @@ -7,4 +6,3 @@ obj-$(CONFIG_VFIO_XGMAC) += calxeda-xgmac.o
> obj-$(CONFIG_VFIO_AMD_XGBE) += amd-xgbe.o
> obj-$(CONFIG_SOFTMMU) += spapr.o
> obj-$(CONFIG_VFIO_AP) += ap.o
> -endif
>
Reviewed-by: Thomas Huth <address@hidden>
- Re: [Qemu-devel] [PATCH 02/52] ide: split ioport registration to a separate file, (continued)
[Qemu-devel] [PATCH 05/52] build: actually use CONFIG_PAM, Paolo Bonzini, 2019/01/25
[Qemu-devel] [PATCH 04/52] hw/pci-host/Makefile.objs: make CONFIGS clear for PCI EXPRESS, Paolo Bonzini, 2019/01/25
[Qemu-devel] [PATCH 06/52] hw/i386/Makefile.objs: Build pc_piix* and pc_q35 boards, Paolo Bonzini, 2019/01/25
[Qemu-devel] [PATCH 03/52] vfio: move conditional up to hw/Makefile.objs, Paolo Bonzini, 2019/01/25
- Re: [Qemu-devel] [PATCH 03/52] vfio: move conditional up to hw/Makefile.objs,
Thomas Huth <=
[Qemu-devel] [PATCH 07/52] hw/arm/Makefile.objs: CONFIG_VIRT created for virt board, Paolo Bonzini, 2019/01/25
[Qemu-devel] [PATCH 08/52] hw/m68k/Makefile.objs: Conditionally build boards, Paolo Bonzini, 2019/01/25
[Qemu-devel] [PATCH 09/52] hw/microblaze/Makefile.objs: Create configs for petalogix and xilinx boards, Paolo Bonzini, 2019/01/25
[Qemu-devel] [PATCH 10/52] hw/mips/Makefile.objs: Create CONFIG_* for r4k, malta, mipssim boards, Paolo Bonzini, 2019/01/25
[Qemu-devel] [PATCH 14/52] hw/sparc/Makefile.objs: CONFIG_* for sun4m and leon3 created, Paolo Bonzini, 2019/01/25
[Qemu-devel] [PATCH 21/52] hw/cris/Makefile.objs: Create CONFIG_* for cris, Paolo Bonzini, 2019/01/25