From nobody Fri May 17 03:00:57 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1594818863; cv=none; d=zohomail.com; s=zohoarc; b=GnQn2VQt2qXEvfnyxEjS/r2ikdlSe3btp8eS91XtLrKm4zJMJ7/Zh8R81BfA9VMQqP+5LtehYm24Uk/Cu+nkt0nVTdeSpkkwdQZQ583YlgoAMNlW++uTdNH3QYLx+epPVzcqkwoHrITel4x5szAOyu03XL4tJ9LYOV58BzUWgR4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594818863; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=YxvZqKylwW+i1AJeh/rArAfffml21QWKrCjIs4KqnXE=; b=VwXxFWg3bQK+jes13yHBEu9qcuaObNJqCnn/1zinAh6m2+7t2JjsJgM9BBj0Hlr0Pvxd7PK/gNmQoTkrmGTSkY27jgda4WphAvQg1Ogq3N3aAWZrEcPRBYIHctgBKzrvT6zf8nA4uC6Qd5N7JDUR42HbUuwS8IyIwRLHpcTZsRc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1594818863551370.50865834341664; Wed, 15 Jul 2020 06:14:23 -0700 (PDT) Received: from localhost ([::1]:41260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvhEs-0007Y6-EJ for importer@patchew.org; Wed, 15 Jul 2020 09:14:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvhE5-0006hP-Cu for qemu-devel@nongnu.org; Wed, 15 Jul 2020 09:13:34 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:36599 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jvhE1-0005r3-Mt for qemu-devel@nongnu.org; Wed, 15 Jul 2020 09:13:32 -0400 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-93-UNtzVRDNOduJpNHprwZrZA-1; Wed, 15 Jul 2020 09:13:26 -0400 Received: by mail-wr1-f70.google.com with SMTP id w4so1332153wrm.5 for ; Wed, 15 Jul 2020 06:13:25 -0700 (PDT) Received: from x1w.redhat.com (138.red-83-57-170.dynamicip.rima-tde.net. [83.57.170.138]) by smtp.gmail.com with ESMTPSA id w12sm3721416wrm.79.2020.07.15.06.13.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 06:13:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594818808; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YxvZqKylwW+i1AJeh/rArAfffml21QWKrCjIs4KqnXE=; b=dLyTYKIefm6yTArdCZknmWGp+XT90NrMJzAumJg5ygL9AgxKcEuqSpzTUJpo98zALhifSD 3as0mp+N+eiMFCSU9J35kV3qaLd+d5p9NfXnHEc3jHcBr9b4Rm72lVa4dfRPuKO0BQznHd fgePwxm5DmMOh7RCABsUnvy/3klu7pU= X-MC-Unique: UNtzVRDNOduJpNHprwZrZA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YxvZqKylwW+i1AJeh/rArAfffml21QWKrCjIs4KqnXE=; b=XD2NzpyfgeekUu8YUIoD+KXGdYD8Y8/6hzJgAVTtgjOjpP44J4QsK3qLrxgMrQ1Xo5 TeRMW2Dp9YNf9qOol4s5XtrG74mqWJPh+PEqk44DM1mKBWWNXGY/FibGJiTOEbL1O3xV BTQGFGedEsLVAnPgZ8GJyklkFJ1buF4CcqGq6JBe9c6j2Q+Q/RfBU92ULOM0LeTCd3bi cNv6EC4HJpLRB2gvN6ifjxd2BLR1P0lxYuoULkEF5Pa9tAqyYhJozwB3oJ3HSG1q3uWY ryc/74ybHzaZ1fXyuJbcouQKW31pVMlkjVba0O+jmbFp9zo8r6SZ53qOYIkeJHcQvBus lmig== X-Gm-Message-State: AOAM531QNkkCx9XvgvacKahuPcfLHuxGElxJuGeeAZyLyPpgIHlv03vy AEZmJ0br0g8H0knOZL//4XsOVgq5cWWUJnzAe6mPzfQbPHrFKsQSOhJlUlSo9IgskL5NNhcUwxB dtlRuVkKBFDkIF5I= X-Received: by 2002:a7b:cd90:: with SMTP id y16mr8583999wmj.20.1594818804712; Wed, 15 Jul 2020 06:13:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz71dmsk0a0sW7Q22AsGsqhwC5l0BFWzmIFpeDomuyiy8ZpLlWV6k1NSEwrnPELGkxk4dYfxw== X-Received: by 2002:a7b:cd90:: with SMTP id y16mr8583980wmj.20.1594818804481; Wed, 15 Jul 2020 06:13:24 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH-for-5.2] hw/vfio: Move some target-independent devices to common-objs Date: Wed, 15 Jul 2020 15:13:22 +0200 Message-Id: <20200715131322.28767-1-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8"; text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=207.211.31.120; envelope-from=philmd@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/15 05:07:28 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -40 X-Spam_score: -4.1 X-Spam_bar: ---- X-Spam_report: (-4.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alex Williamson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) These devices do not depend on the target CPU configuration (32 or 64-bit, big / little endian). Move them to common-obj to compile them once for all the targets. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/vfio/Makefile.objs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hw/vfio/Makefile.objs b/hw/vfio/Makefile.objs index 9bb1c09e84..f663a800b1 100644 --- a/hw/vfio/Makefile.objs +++ b/hw/vfio/Makefile.objs @@ -1,8 +1,9 @@ obj-y +=3D common.o spapr.o -obj-$(CONFIG_VFIO_PCI) +=3D pci.o pci-quirks.o display.o +obj-$(CONFIG_VFIO_PCI) +=3D pci.o pci-quirks.o obj-$(CONFIG_VFIO_CCW) +=3D ccw.o obj-$(CONFIG_VFIO_PLATFORM) +=3D platform.o -obj-$(CONFIG_VFIO_XGMAC) +=3D calxeda-xgmac.o -obj-$(CONFIG_VFIO_AMD_XGBE) +=3D amd-xgbe.o obj-$(CONFIG_VFIO_AP) +=3D ap.o -obj-$(CONFIG_VFIO_IGD) +=3D igd.o +common-obj-$(CONFIG_VFIO_PCI) +=3D display.o +common-obj-$(CONFIG_VFIO_XGMAC) +=3D calxeda-xgmac.o +common-obj-$(CONFIG_VFIO_AMD_XGBE) +=3D amd-xgbe.o +common-obj-$(CONFIG_VFIO_IGD) +=3D igd.o --=20 2.21.3