From patchwork Thu Dec 9 14:55:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 522500 Delivered-To: patch@linaro.org Received: by 2002:a05:6e04:2287:0:0:0:0 with SMTP id bl7csp1158276imb; Thu, 9 Dec 2021 07:04:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjg+icRqeuZ1qRr2G9Il5q/nJ/TGKzGnEEqx9S4CszX5JyG1GgOPpem2q6ydVJGNLtwfgh X-Received: by 2002:a5d:4a85:: with SMTP id o5mr6983145wrq.109.1639062240958; Thu, 09 Dec 2021 07:04:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1639062240; cv=none; d=google.com; s=arc-20160816; b=sqrBlaSlQ7dsMdP+tX8fw56WdTUOy/dcSH1vTflWtDdsWqbKvupKd8KIqZp1hK7b4+ l6qDGUHYeOQmEQ+rwo+W5A/e9+UIOex+M7y4JJ/6bVyEMF9RVBLMXDYc/mUmHT6LdNiV 1WihgzekBY5s4VHgWJko8NRXC4uFO4piSaXG0ZJhWSDGjI2g5LGSblfIrYuQH+BQUfN9 PKK7dAc6kbg/YgfdOJCxYTAISBPW+NZFfyUfOkb/Htijgvq+ci+BxS+JR+oaAaLqdYbC LfUCSru1NA5Zw6NNSLSpDaMI5W8twNbrDaspcynBaBD7QChv7NBE+Xd07MrUZohVEZEn 0b6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=irUYZBqjdMbkZI8UB9bGVH0245A61P32W1SaY6iDPao=; b=hOMpRYE3p4TrxRgPkeXHM01ODuRASN7JbPL58HWAEZxxg5xB5hHx0t8OfApUONq27t 6MHaH+BrLy0PgYqOZFZet7rxUKJpMMRQOzbk5cfR3iHTCDhuTKomrO2BSRq3UZjG49ar 9eu0ymOleL5110NbcfpZ9c3FAfWK052pJcxZjZiNt5Yc/hRMS52TGjmQ/ysnHDPETgFt byX1RNAs271b0S0FHR44SyMbDt1eT+BivwymWPZLYeXWlSPiKymwe8EHL19C7eME2vSp hnyrL6KXMQSAeiymdMBwxUJv6qpzdWGh+vZ27muhRzwC3cYh7d2aCnYlcLZNX7KA/3wA JPng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=OT8H9g6q; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id l18si10519706wmq.76.2021.12.09.07.04.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Dec 2021 07:04:00 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=OT8H9g6q; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvKxj-0003RM-Qk for patch@linaro.org; Thu, 09 Dec 2021 10:03:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvKqi-0002b7-Hv for qemu-devel@nongnu.org; Thu, 09 Dec 2021 09:56:45 -0500 Received: from [2a00:1450:4864:20::334] (port=54105 helo=mail-wm1-x334.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvKqe-0001ZB-Sz for qemu-devel@nongnu.org; Thu, 09 Dec 2021 09:56:43 -0500 Received: by mail-wm1-x334.google.com with SMTP id y196so4409696wmc.3 for ; Thu, 09 Dec 2021 06:56:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=irUYZBqjdMbkZI8UB9bGVH0245A61P32W1SaY6iDPao=; b=OT8H9g6qLo1xH0CT23Zqeqzkg4OdPgERVYsXmy2grMQvXchNg9QaP13l6ozMaa4l7X 1ybsRtPDMKulQmSh7tF7d2vhQGc9DOO3UQWQwEDNjLAfnjLxEqfAA2+KClMvSANMY8Pd icyhRzgJRX4yWuQi+Qvna4dVfi8mk6B2Pu3IxUf4yOLnYwUDs+rLXHSBc7bYk62OpBf3 S+WCWCa1n0BWf/UfUES/fqtbL/oWFTLNF7ASaNlkhcj3cX8UJlXtihB4u1iJE2EZuONw w6Uv1RYzb1mhdBN8rpuYmSa54tpeeSt7reVsyZP6eA7ITIIv6diaUyF2PPDsvWVGCmaf zksA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=irUYZBqjdMbkZI8UB9bGVH0245A61P32W1SaY6iDPao=; b=vlWVMQxnrpp0ilBX/XGbAclw+OqAxnz1Qtc7oeQC4Em0J/BZRtDh0xfs2TWfWIxOWz u8Y1pBg9yfdR8WWxidJwDnhxxrpJTsGEfIUETR39POu8y93/JjRoz64NuqhItc7JJb/j 3Xh2THQFTGAB7C3AkmWWveigXnkxtmW746HB2V//9sL89DnVwG3yQUIzqeLSAwzIce7i XsJB26oKzXz6lNBzgAGtHrQ7lI6pQ0eYGSGOL8ImTCBopC7ghfI8wfkQThh3XS07fRUg 1DRx35vy3o+BkRMwwX1gLYi/9b/vYTJVaPM76Hgh0fYGpGwKkTI3A28hTE7gyHCyL3Ky uXRA== X-Gm-Message-State: AOAM532MyEwG2a7FH9KelKrLOthIeTvH0K43Rq2ckiZCQk/kysZ4p3Yh w7kZUScLtB3722AuocHdkUdn2w== X-Received: by 2002:a05:600c:1ca4:: with SMTP id k36mr7839448wms.169.1639061799549; Thu, 09 Dec 2021 06:56:39 -0800 (PST) Received: from xps15-9570.lan (host-92-16-105-103.as13285.net. [92.16.105.103]) by smtp.gmail.com with ESMTPSA id y142sm30845wmc.40.2021.12.09.06.56.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 06:56:39 -0800 (PST) From: Peter Griffin To: marcandre.lureau@redhat.com, mst@redhat.com, alex.bennee@linaro.org Subject: [PATCH 4/8] vhost-user-video: add meson subdir build logic Date: Thu, 9 Dec 2021 14:55:57 +0000 Message-Id: <20211209145601.331477-5-peter.griffin@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211209145601.331477-1-peter.griffin@linaro.org> References: <20211209145601.331477-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::334 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=peter.griffin@linaro.org; helo=mail-wm1-x334.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Griffin , qemu-devel@nongnu.org, stratos-dev@op-lists.linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Peter Griffin --- tools/meson.build | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/meson.build b/tools/meson.build index 3e5a0abfa2..3314b5efc5 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -24,3 +24,12 @@ endif if have_virtiofsd subdir('virtiofsd') endif + +have_virtiovideo = (have_system and + have_tools and + 'CONFIG_LINUX' in config_host) + +if have_virtiovideo + subdir('vhost-user-video') +endif +