[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 03/27] vfio: move conditional up to hw/Makefile.o
From: |
Yang Zhong |
Subject: |
[Qemu-devel] [PATCH v2 03/27] vfio: move conditional up to hw/Makefile.objs |
Date: |
Sat, 2 Feb 2019 15:24:32 +0800 |
From: Paolo Bonzini <address@hidden>
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>
Reviewed-by: Thomas Huth <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 39d882af6f..22dd211363 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 8b3f664d85..91805893f7 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
--
2.17.1
- [Qemu-devel] [PATCH v2 00/27] make qemu configurable for Kconfig, Yang Zhong, 2019/02/02
- [Qemu-devel] [PATCH v2 01/27] arm: disable CONFIG_SERIAL_ISA, Yang Zhong, 2019/02/02
- [Qemu-devel] [PATCH v2 02/27] ide: split ioport registration to a separate file, Yang Zhong, 2019/02/02
- [Qemu-devel] [PATCH v2 03/27] vfio: move conditional up to hw/Makefile.objs,
Yang Zhong <=
- [Qemu-devel] [PATCH v2 04/27] hw/pci-host/Makefile.objs: make CONFIGS clear for PCI EXPRESS, Yang Zhong, 2019/02/02
- [Qemu-devel] [PATCH v2 05/27] build: actually use CONFIG_PAM, Yang Zhong, 2019/02/02
- [Qemu-devel] [PATCH v2 06/27] hw/i386/Makefile.objs: Build pc_piix* and pc_q35 boards, Yang Zhong, 2019/02/02
- [Qemu-devel] [PATCH v2 07/27] hw/arm/Makefile.objs: CONFIG_ARM_VIRT created for virt board, Yang Zhong, 2019/02/02
- [Qemu-devel] [PATCH v2 08/27] hw/m68k/Makefile.objs: Conditionally build boards, Yang Zhong, 2019/02/02
- [Qemu-devel] [PATCH v2 09/27] hw/microblaze/Makefile.objs: Create configs for petalogix and xilinx boards, Yang Zhong, 2019/02/02
- [Qemu-devel] [PATCH v2 10/27] hw/mips/Makefile.objs: Create CONFIG_* for r4k, malta, mipssim boards, Yang Zhong, 2019/02/02
- [Qemu-devel] [PATCH v2 11/27] hw/ppc/Makefile.objs: Build all boards conditinally with CONFIG_*, Yang Zhong, 2019/02/02
- [Qemu-devel] [PATCH v2 14/27] hw/sparc/Makefile.objs: CONFIG_* for sun4m and leon3 created, Yang Zhong, 2019/02/02
- [Qemu-devel] [PATCH v2 12/27] hw/sh4/Makefile.objs: New CONFIG_* varibales created for sh4 boards and device, Yang Zhong, 2019/02/02