From patchwork Sun Aug 11 13:17:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1145323 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.136; helo=silver.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 silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46600M5MRRz9sN1 for ; Sun, 11 Aug 2019 23:18:11 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EF92D20383; Sun, 11 Aug 2019 13:18:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tlJfjOfRzV4M; Sun, 11 Aug 2019 13:18:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A82E7203C0; Sun, 11 Aug 2019 13:18:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id BC7A61BF2CC for ; Sun, 11 Aug 2019 13:18:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B62AD87941 for ; Sun, 11 Aug 2019 13:18:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZXE21901hOc8 for ; Sun, 11 Aug 2019 13:18:03 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) by hemlock.osuosl.org (Postfix) with ESMTPS id 1C8C68798F for ; Sun, 11 Aug 2019 13:18:03 +0000 (UTC) Received: from fwd02.aul.t-online.de (fwd02.aul.t-online.de [172.20.26.148]) by mailout08.t-online.de (Postfix) with SMTP id 3F36C41D1DAA; Sun, 11 Aug 2019 15:18:01 +0200 (CEST) Received: from fli4l.lan.fli4l (bKZ9crZYQhYoVWNgSjOuu92M3G9XYonNyxcApDwjbZWSqRgyKWM+D-GPa85nh08wlS@[84.161.191.122]) by fwd02.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1hwnjS-1cMZiy0; Sun, 11 Aug 2019 15:17:58 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:50594) by fli4l.lan.fli4l with esmtp (Exim 4.92.1) (envelope-from ) id 1hwnjR-0007YW-8t; Sun, 11 Aug 2019 15:17:57 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 11 Aug 2019 15:17:46 +0200 Message-Id: <20190811131755.30840-3-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190811131755.30840-1-bernd.kuhls@t-online.de> References: <20190811131755.30840-1-bernd.kuhls@t-online.de> MIME-Version: 1.0 X-ID: bKZ9crZYQhYoVWNgSjOuu92M3G9XYonNyxcApDwjbZWSqRgyKWM+D-GPa85nh08wlS X-TOI-MSGID: 4b8d8913-aae0-4263-a52f-5ac089dca11e Subject: [Buildroot] [PATCH/next v9 03/12] 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 bd05116aca..9bb95c3fd6 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"