From nobody Mon Feb 9 17:24:16 2026 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1549392807381198.79521784560632; Tue, 5 Feb 2019 10:53:27 -0800 (PST) Received: from localhost ([127.0.0.1]:37880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gr5qM-0007M6-6c for importer@patchew.org; Tue, 05 Feb 2019 13:53:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gr5Gf-0002ed-HK for qemu-devel@nongnu.org; Tue, 05 Feb 2019 13:16:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gr5Ge-0004Ao-5J for qemu-devel@nongnu.org; Tue, 05 Feb 2019 13:16:21 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:34049) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gr5Gd-00049d-Sn for qemu-devel@nongnu.org; Tue, 05 Feb 2019 13:16:20 -0500 Received: by mail-wr1-x434.google.com with SMTP id z15so2673702wrn.1 for ; Tue, 05 Feb 2019 10:16:19 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id p5sm8931665wmh.16.2019.02.05.10.16.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Feb 2019 10:16:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=ZNPeJWjxuFwOrZxs/BZaoK239OsYJZcgmx7KfmHi4Zk=; b=sKYbtFJ6QhUEyp4n/PNEjcYzpi3le3krjjse9sI8AjLd6olAkppPB6IdhURw3wb0bL 7PwrEi0tksBvj//Rfsk3fV5pqtNdCRPyoaXubPKoSTMMe+1m1tBL7N4cOK1xJBvO2u4O st1ZLEFvJAl2zGEdvVWN/8VVqR5qc9ZQulKeohQxu8eicoRrSzU0E8E9Hun8RiuIWQ2J gLE3btfDnUSTDlsyqm87XSgdVLgDks/rJ+0jlOhcjoU/IFUN5eKIvHSIAHqWM0qGrUrP 6F/Ou1T7+NwjQFzGTDrZVsHHjzbhI9FCHonoqm9KrPKUBmyq7yrBnG519FGR72ID+YsW V+UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=ZNPeJWjxuFwOrZxs/BZaoK239OsYJZcgmx7KfmHi4Zk=; b=NjV84YgRhx1vuL19ZztnO+1634g4l/vdmiB/92evIvDqENjxxyp98PbLZJfPXCMx3t 4O53fEDUU+zmetpoCh3IYme3EteFRyvE0soB4EmN1Cnga4o1WmiBpj+sIBHaQOrF1gY0 7vE8/ZU3xqnX+Oh8GQBGvTvTp0BNIjHdWEu222BxEFpOtdI9aaQ3SHPRVk3p01LT1d6L 6qRJ5TfShJWrdmqnOQDMptbPLpm+K6caDLqpIjuZ9U4nLq/P8cKF8AK+dQmEwO3c84Lx 2Yzt56qRnKXe8BtLzzOqnOPrR24hZjMXALFiCnz2FNBJqw47kavhNAVRjdxmJ++mWljI ycFw== X-Gm-Message-State: AHQUAuYZLRFyE+iX2QaCcWxfg/xrAshLNAlNNloeBc9UkUzYD6UPTAwU +wWJOjRBv78IC4CF1YAvzpNy1CBt X-Google-Smtp-Source: AHgI3IbwVyiaK4PLa7xdV2yXP8Vv8eZpwlOkUldeR0rGmWDSZ30C++ReFjwYvNXT83L+DydAZIOSGw== X-Received: by 2002:adf:c70f:: with SMTP id k15mr4616149wrg.155.1549390578541; Tue, 05 Feb 2019 10:16:18 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 5 Feb 2019 19:14:57 +0100 Message-Id: <1549390526-24246-48-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1549390526-24246-1-git-send-email-pbonzini@redhat.com> References: <1549390526-24246-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::434 Subject: [Qemu-devel] [PULL 47/76] vfio: move conditional up to hw/Makefile.objs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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/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) +=3D ssi/ devices-dirs-$(CONFIG_SOFTMMU) +=3D timer/ devices-dirs-$(CONFIG_TPM) +=3D tpm/ devices-dirs-$(CONFIG_SOFTMMU) +=3D usb/ -devices-dirs-$(CONFIG_SOFTMMU) +=3D vfio/ +devices-dirs-$(CONFIG_LINUX) +=3D vfio/ devices-dirs-$(CONFIG_SOFTMMU) +=3D virtio/ devices-dirs-$(CONFIG_SOFTMMU) +=3D watchdog/ devices-dirs-$(CONFIG_SOFTMMU) +=3D 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) +=3D common.o obj-$(CONFIG_PCI) +=3D pci.o pci-quirks.o display.o obj-$(CONFIG_VFIO_CCW) +=3D ccw.o @@ -7,4 +6,3 @@ obj-$(CONFIG_VFIO_XGMAC) +=3D calxeda-xgmac.o obj-$(CONFIG_VFIO_AMD_XGBE) +=3D amd-xgbe.o obj-$(CONFIG_SOFTMMU) +=3D spapr.o obj-$(CONFIG_VFIO_AP) +=3D ap.o -endif --=20 1.8.3.1