From e01ee04f8ba2cf561aee2660aa226d59040e8193 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Sat, 2 Feb 2019 15:24:32 +0800 Subject: vfio: move conditional up to hw/Makefile.objs Instead of wrapping the entire Makefile.objs with an ifeq/endif, just include the directory only for Linux. Signed-off-by: Paolo Bonzini Reviewed-by: Thomas Huth Message-Id: <20190202072456.6468-4-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini --- hw/vfio/Makefile.objs | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/vfio') 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 -- cgit v1.1