From nobody Sun Feb 8 20:13:31 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; 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 ARC-Seal: i=1; a=rsa-sha256; t=1556371224; cv=none; d=zoho.com; s=zohoarc; b=XSum2hJOHWd2jO36dM/OCmeUFbO0x3h+77ftYqV/1jsFSPSzkaytVQYBxMEImiRkTQJoLobBYbi6mXgbQwI9QehdGMvSPeb0AxVEdkXw1Ig94f70PayvRrauHw7icKeJqsL3Hxf4OdcFfSQvkd7GxSbKjnvLEMDzhURwZLbaPnA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556371224; 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:ARC-Authentication-Results; bh=qE75J00wYxtG23w+0jBiokBSpWUEGNZJMNY9NSEg208=; b=S2Qgre9LSvBxoeDdX7+ypZrw8NKsJU/lIVtDyfh+VZz4HBpADXDf89ZZyO/+J91bUkkR2n99Vg7nL5blsMvgVtcdNVSz3gBpruHsawqFSqt01lIa4dbCVEpkOg291zzuvv3Q8Mn1A4tLTl3K6DLU8NYMuZaqIny53LfXy2p3HVQ= ARC-Authentication-Results: i=1; mx.zoho.com; spf=temperror (zoho.com: Error in retrieving data from DNS) 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 (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1556371224072364.9133279773456; Sat, 27 Apr 2019 06:20:24 -0700 (PDT) Received: from localhost ([127.0.0.1]:60336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKNFQ-0003m0-CM for importer@patchew.org; Sat, 27 Apr 2019 09:20:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKNER-0003UA-R1 for qemu-devel@nongnu.org; Sat, 27 Apr 2019 09:19:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKNER-0001kQ-1v for qemu-devel@nongnu.org; Sat, 27 Apr 2019 09:19:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39090) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hKNEQ-0001iV-Pj for qemu-devel@nongnu.org; Sat, 27 Apr 2019 09:19:06 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2675887627; Sat, 27 Apr 2019 13:19:05 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-83.brq.redhat.com [10.40.204.83]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 745D45ED4D; Sat, 27 Apr 2019 13:18:59 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Sat, 27 Apr 2019 15:18:57 +0200 Message-Id: <20190427131857.11600-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Sat, 27 Apr 2019 13:19:05 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH] hw/tpm: Only build tpm_ppi.o if any of TPM_TIS/TPM_CRB is built 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: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Stefan Berger Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The TPM Physical Presence Interface routines are only used by the CRB/TIS interfaces. Do not compile this file if any of them is built. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Stefan Berger --- Marc-Andr=C3=A9: You might want to add yourself as reviewer/maintainer of TPM ;) --- hw/tpm/Makefile.objs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/tpm/Makefile.objs b/hw/tpm/Makefile.objs index 700c8786228..de0b85d02ae 100644 --- a/hw/tpm/Makefile.objs +++ b/hw/tpm/Makefile.objs @@ -1,5 +1,5 @@ -common-obj-y +=3D tpm_util.o -obj-y +=3D tpm_ppi.o +common-obj-$(CONFIG_TPM) +=3D tpm_util.o +obj-$(call lor,$(CONFIG_TPM_TIS),$(CONFIG_TPM_CRB)) +=3D tpm_ppi.o common-obj-$(CONFIG_TPM_TIS) +=3D tpm_tis.o common-obj-$(CONFIG_TPM_CRB) +=3D tpm_crb.o common-obj-$(CONFIG_TPM_PASSTHROUGH) +=3D tpm_passthrough.o --=20 2.20.1