From nobody Thu Nov 13 03:23:39 2025 Delivered-To: importer@patchew.org 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; 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=1576515002; cv=none; d=zohomail.com; s=zohoarc; b=oEDV8AdQMh3nSgnM33xspjteEs8e8YUm5nmTuT6WMm9mJ0gaccsVtRxCvlmgczt8X27ss2qR2TW53dx5DeD0BlRm/S7d342n0ScasStz2im/d2WkIeKaIf4lfeeBpm3wsREBMCrdh4F2LXjrhhC83sPTafdREyKiVBAevVy2C2Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1576515002; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=S3pmMgcEmeHBtI4+AVbPDjiFOAavVsNacKUoCx6hTZI=; b=i5/RHUYnkK5hATrSyeHQjKpQNV5RK+lC5VDpMIWMLglXIy6r0NvP/rUMdrbX0HX7fgTcPG4WqRQIcUfY06HlmzdoaVRzYqiQRkg7GPxzK6I2XQU27XFOcW4zMDo8sDfoFcmBEWmkfWw9bJaOTheynchhJ1PxOXF/PfdDYfH6bWw= 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 1576515002597406.83441532403936; Mon, 16 Dec 2019 08:50:02 -0800 (PST) Received: from localhost ([::1]:56828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igtZJ-00057m-2o for importer@patchew.org; Mon, 16 Dec 2019 11:50:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56991) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igtFK-0005Kj-39 for qemu-devel@nongnu.org; Mon, 16 Dec 2019 11:29:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igtFJ-0007uX-1Y for qemu-devel@nongnu.org; Mon, 16 Dec 2019 11:29:21 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:35071) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igtFI-0007rv-Qf for qemu-devel@nongnu.org; Mon, 16 Dec 2019 11:29:20 -0500 Received: by mail-wr1-x42c.google.com with SMTP id g17so8053954wro.2 for ; Mon, 16 Dec 2019 08:29:20 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id q68sm19962334wme.14.2019.12.16.08.29.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Dec 2019 08:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S3pmMgcEmeHBtI4+AVbPDjiFOAavVsNacKUoCx6hTZI=; b=Wgvfd2pv9qciSUQyY67jFfTAiHAmvnEQry4CBMrnKwcsHtARd9DOhbwmRJeRGF/OHM pF2GsmOLZsWadDDOlhP3KQMvvvKKnJ+tmgVc4oXLxEXpPD8824jggPZNKblru87FI9z0 Y+sohN3R16EN2Q4Nsavh9xhz9eF1MMjrM0xlg5v5nMsniLbCt7kRO88oPYvhQ45ltBvd CeAhrgfsDEYhMTsK2R3bRfj9pi34LcVYN1Vl6Veug7AP6ZodJAF1jWrXz8Va1x0f50iO +xxkmwyM0IF/kzmyHMUvAHn5u8ELvmDSZMMnt/OzKIAYlaoSYkhIp5SxittOwQKy+tw7 egcw== 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:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=S3pmMgcEmeHBtI4+AVbPDjiFOAavVsNacKUoCx6hTZI=; b=HsUMQuc+DVp/CrAnlql+W6ANVqImjeVQMvsvSDS8T7LKXACYw6x0K7GbI/21j8oDv3 mbaTJzu6i/ZlSlCNGz/O90VAI1sv/cpUmh79UuqD0F833Myf4FQZ4hNf49cmsST3nMSK WsmX7oJ+TfKx33j0BpRuQdWjRmX5066Y97l0E4Wu63ykIEvkVarEQbtjYJcVrgFP+bkv eI2ESKIO/hcRjclG3C9gebcmgixhstJ5UFp7UrT/JbY0GmdhvO0ZwpIO9hk2n4JqIYk+ FBmjhowlN3uHo/WXOYalAnGrKfvKlw15dkCMKMygeCTzj1RTWt3BhmIzJnemDO1TuSwj jt+w== X-Gm-Message-State: APjAAAVMWDI5yAIsKumIWOd9/p+9KqE4acJVPoREXpm6G+RWGhhRw8gO 1U0EPogb8qNN4ZK/JmyuN/WuOSzR X-Google-Smtp-Source: APXvYqwfKA/jDnPJhxErUd1LKjejfpdukyT7neBuUgWQ2d1QbfPYkShPNPJfQyPLGdxBxeb+ONoRVg== X-Received: by 2002:adf:e984:: with SMTP id h4mr30482020wrm.275.1576513759683; Mon, 16 Dec 2019 08:29:19 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 32/62] build-sys: build vhost-user-gpu only if CONFIG_TOOLS Date: Mon, 16 Dec 2019 17:28:16 +0100 Message-Id: <1576513726-53700-33-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1576513726-53700-1-git-send-email-pbonzini@redhat.com> References: <1576513726-53700-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c 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: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Marc-Andr=C3=A9 Lureau vhost-user-gpu is always built and installed, but it is not part of the emu= lator proper. Cut it if --disable-tools is specified. Signed-off-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Paolo Bonzini --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a2acef3..bfd8ba3 100644 --- a/Makefile +++ b/Makefile @@ -321,14 +321,10 @@ HELPERS-y =3D =20 HELPERS-$(call land,$(CONFIG_SOFTMMU),$(CONFIG_LINUX)) =3D qemu-bridge-hel= per$(EXESUF) =20 -ifdef CONFIG_LINUX -ifdef CONFIG_VIRGL -ifdef CONFIG_GBM +ifeq ($(CONFIG_LINUX)$(CONFIG_VIRGL)$(CONFIG_GBM)$(CONFIG_TOOLS),yyyy) HELPERS-y +=3D vhost-user-gpu$(EXESUF) vhost-user-json-y +=3D contrib/vhost-user-gpu/50-qemu-gpu.json endif -endif -endif =20 # Sphinx does not allow building manuals into the same directory as # the source files, so if we're doing an in-tree QEMU build we must --=20 1.8.3.1