From: "André Hentschel" <nerv@dawncrow.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/mesa3d: Add option to build OSMesa
Date: Sat, 3 Oct 2015 19:21:55 +0200 [thread overview]
Message-ID: <56100EB3.2000300@dawncrow.de> (raw)
Signed-off-by: Andr?? Hentschel <nerv@dawncrow.de>
---
package/mesa3d/Config.in | 7 +++++++
package/mesa3d/mesa3d.mk | 6 ++++++
2 files changed, 13 insertions(+)
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index a658986..fdeb599 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -117,6 +117,13 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
endif # BR2_PACKAGE_XORG7
+comment "Off-screen Rendering"
+
+config BR2_PACKAGE_MESA3D_OSMESA
+ bool "OSMesa library"
+ help
+ The OSMesa API provides functions for making off-screen renderings.
+
if BR2_PACKAGE_MESA3D_DRIVER
comment "Additional API Support"
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index f7feb0f..70ec2ec 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -110,6 +110,12 @@ endif
# APIs
+ifeq ($(BR2_PACKAGE_MESA3D_OSMESA),y)
+MESA3D_CONF_OPTS += --enable-osmesa
+else
+MESA3D_CONF_OPTS += --disable-osmesa
+endif
+
# Always enable OpenGL:
# - it is needed for GLES (mesa3d's ./configure is a bit weird)
# - but if no DRI driver is enabled, then libgl is not built,
--
1.9.1
next reply other threads:[~2015-10-03 17:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-03 17:21 André Hentschel [this message]
2015-10-13 18:30 ` [Buildroot] [PATCH] package/mesa3d: Add option to build OSMesa André Hentschel
2015-10-13 18:41 ` Bernd Kuhls
2015-10-13 19:15 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56100EB3.2000300@dawncrow.de \
--to=nerv@dawncrow.de \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox