From patchwork Wed Sep 4 17:50:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1157866 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46NrwG1JSfz9sBF for ; Thu, 5 Sep 2019 03:51:08 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 885C2868C7; Wed, 4 Sep 2019 17:51:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 38HucHdNePQv; Wed, 4 Sep 2019 17:51:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id E754586640; Wed, 4 Sep 2019 17:51:05 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 754821BF3C5 for ; Wed, 4 Sep 2019 17:50:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6FEFB8654E for ; Wed, 4 Sep 2019 17:50:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MLm5dVaxTWDg for ; Wed, 4 Sep 2019 17:50:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 2FA5F8648E for ; Wed, 4 Sep 2019 17:50:47 +0000 (UTC) Received: from fwd23.aul.t-online.de (fwd23.aul.t-online.de [172.20.26.128]) by mailout03.t-online.de (Postfix) with SMTP id F2E0D4252245; Wed, 4 Sep 2019 19:50:44 +0200 (CEST) Received: from fli4l.lan.fli4l (ZwCdrvZGYhW48+H+iBwqVvliblfEnX+2hmNPsYM8WUBss9zwK761YZooecM3TXdwm9@[91.58.12.59]) by fwd23.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1i5ZQa-1ucP1k0; Wed, 4 Sep 2019 19:50:44 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:36844) by fli4l.lan.fli4l with esmtp (Exim 4.92.1) (envelope-from ) id 1i5ZQZ-0001xa-NP; Wed, 04 Sep 2019 19:50:44 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Wed, 4 Sep 2019 19:50:29 +0200 Message-Id: <20190904175039.29279-4-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190904175039.29279-1-bernd.kuhls@t-online.de> References: <20190904175039.29279-1-bernd.kuhls@t-online.de> MIME-Version: 1.0 X-ID: ZwCdrvZGYhW48+H+iBwqVvliblfEnX+2hmNPsYM8WUBss9zwK761YZooecM3TXdwm9 X-TOI-MSGID: 96dbe1da-c357-4535-b11e-6489c8da6a81 Subject: [Buildroot] [PATCH v12 03/13] package/mesa3d: add OSMesa classic needs dri swrast X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Andr=C3=A9_Hentschel?= , Asaf Kahlon , Spenser Gilliland , Romain Naour , Romain Naour Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Romain Naour The meson build system now check if dri swrast is enabled when OSMesa classic is enabled. See: https://cgit.freedesktop.org/mesa/mesa/commit/?id=cbbd5bb889a2c271a504c379f36a7cb717a85af4 Signed-off-by: Romain Naour Signed-off-by: Bernd Kuhls --- package/mesa3d/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index 13739f54c5..77ac0469e9 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -267,10 +267,14 @@ comment "Off-screen Rendering" config BR2_PACKAGE_MESA3D_OSMESA_CLASSIC bool "OSMesa (classic) library" + depends on BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST help The OSMesa classic API provides functions for making off-screen renderings. +comment "OSMesa classic requires dri (classic) swrast" + depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST + if BR2_PACKAGE_MESA3D_DRIVER comment "Additional API Support"