From patchwork Thu Sep 13 19:44:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 969504 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 42B8H96k3Dz9s9N for ; Fri, 14 Sep 2018 05:44:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 34CEA85DC7; Thu, 13 Sep 2018 19:44:18 +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 24Y1cdJ-5hpx; Thu, 13 Sep 2018 19:44:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A1FF885E5C; Thu, 13 Sep 2018 19:44:17 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C77581C284C for ; Thu, 13 Sep 2018 19:44:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C490B87D6F for ; Thu, 13 Sep 2018 19:44:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t5VTrpJHbouW for ; Thu, 13 Sep 2018 19:44:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) by whitealder.osuosl.org (Postfix) with ESMTPS id 714E687CD7 for ; Thu, 13 Sep 2018 19:44:15 +0000 (UTC) Received: from fwd05.aul.t-online.de (fwd05.aul.t-online.de [172.20.27.149]) by mailout06.t-online.de (Postfix) with SMTP id A0F7041D155E; Thu, 13 Sep 2018 21:44:13 +0200 (CEST) Received: from fli4l.lan.fli4l (VsPw0TZrghFxWxs6dDlyrwqsR4pvM12NKk2EL6SURlrOhRKYuwaa3RmRnPEEZ+ywjA@[91.58.13.81]) by fwd05.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1g0XX9-1X6zom0; Thu, 13 Sep 2018 21:44:11 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:39150 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.91) (envelope-from ) id 1g0XX8-0006L2-NC; Thu, 13 Sep 2018 21:44:11 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Thu, 13 Sep 2018 21:44:09 +0200 Message-Id: <20180913194410.24077-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.18.0 X-ID: VsPw0TZrghFxWxs6dDlyrwqsR4pvM12NKk2EL6SURlrOhRKYuwaa3RmRnPEEZ+ywjA X-TOI-MSGID: fe662bac-9514-4283-9f2a-b5d75d56b668 Subject: [Buildroot] [PATCH 1/2] package/opengl/libgbm: new virtual package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Kodi 18.0-Leia will implement stand-alone gbm support alongside x11 & wayland. To enable building libgbm in mesa3d without x11 & wayland we need to create a virtual package for libgbm. Also other packages besides mesa3d may provide libgbm.so, see http://patchwork.ozlabs.org/patch/647235/ http://patchwork.ozlabs.org/patch/939703/ Signed-off-by: Bernd Kuhls --- package/opengl/Config.in | 1 + package/opengl/libgbm/Config.in | 6 ++++++ package/opengl/libgbm/libgbm.mk | 7 +++++++ 3 files changed, 14 insertions(+) create mode 100644 package/opengl/libgbm/Config.in create mode 100644 package/opengl/libgbm/libgbm.mk diff --git a/package/opengl/Config.in b/package/opengl/Config.in index 20ee28b06e..fe85bd8e1a 100644 --- a/package/opengl/Config.in +++ b/package/opengl/Config.in @@ -1,5 +1,6 @@ source "package/opengl/libgl/Config.in" source "package/opengl/libegl/Config.in" +source "package/opengl/libgbm/Config.in" source "package/opengl/libgles/Config.in" source "package/opengl/libopenvg/Config.in" source "package/opengl/libopenmax/Config.in" diff --git a/package/opengl/libgbm/Config.in b/package/opengl/libgbm/Config.in new file mode 100644 index 0000000000..ee18c4e6cb --- /dev/null +++ b/package/opengl/libgbm/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_HAS_LIBGBM + bool + +config BR2_PACKAGE_PROVIDES_LIBGBM + string + depends on BR2_PACKAGE_HAS_LIBGBM diff --git a/package/opengl/libgbm/libgbm.mk b/package/opengl/libgbm/libgbm.mk new file mode 100644 index 0000000000..5b3d8262a5 --- /dev/null +++ b/package/opengl/libgbm/libgbm.mk @@ -0,0 +1,7 @@ +################################################################################ +# +# libgbm +# +################################################################################ + +$(eval $(virtual-package))