Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B16A3C433F5 for ; Thu, 7 Oct 2021 09:52:29 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4DF5061139 for ; Thu, 7 Oct 2021 09:52:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4DF5061139 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=buildroot.org Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 1F69E403A7; Thu, 7 Oct 2021 09:52:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uZQWPnQgE3yO; Thu, 7 Oct 2021 09:52:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 53B7E403A4; Thu, 7 Oct 2021 09:52:27 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 0C12F1BF873 for ; Thu, 7 Oct 2021 09:52:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id F01CA60754 for ; Thu, 7 Oct 2021 09:52:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P5t-hjZ5xzpG for ; Thu, 7 Oct 2021 09:51:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by smtp3.osuosl.org (Postfix) with ESMTPS id F0C8A60610 for ; Thu, 7 Oct 2021 09:51:58 +0000 (UTC) Received: (Authenticated sender: kamel.bouhara@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id B3AC0100008; Thu, 7 Oct 2021 09:51:55 +0000 (UTC) From: Kamel Bouhara To: buildroot@buildroot.org Date: Thu, 7 Oct 2021 11:51:42 +0200 Message-Id: <20211007095147.688449-2-kamel.bouhara@bootlin.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211007095147.688449-1-kamel.bouhara@bootlin.com> References: <20211007095147.688449-1-kamel.bouhara@bootlin.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 2/7] package/mesa3d: add gbm api features X-BeenThere: buildroot@buildroot.org 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: Paul Kocialkowski , Bernd Kuhls , Kamel Bouhara Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: Bernd Kuhls Introduce gbm features so that each packages depending on it can choose which implementation is required. Signed-off-by: Kamel Bouhara --- package/mesa3d/Config.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index eb7c1eef46..a181a363da 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -387,6 +387,9 @@ config BR2_PACKAGE_MESA3D_GBM bool "gbm" depends on BR2_PACKAGE_MESA3D_DRI_DRIVER \ || (BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL) + select BR2_PACKAGE_HAS_LIBGBM + select BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT + select BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF help Enable Generic Buffer Management (gbm) @@ -423,6 +426,9 @@ config BR2_PACKAGE_MESA3D_OPENGL_ES endif # BR2_PACKAGE_MESA3D_DRIVER +config BR2_PACKAGE_PROVIDES_LIBGBM + default "mesa3d" if BR2_PACKAGE_MESA3D_GBM + config BR2_PACKAGE_PROVIDES_LIBGL default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_GLX -- 2.30.2 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot