Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/mesa3d: Add option to build OSMesa
@ 2015-10-03 17:21 André Hentschel
  2015-10-13 18:30 ` André Hentschel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: André Hentschel @ 2015-10-03 17:21 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-13 19:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-03 17:21 [Buildroot] [PATCH] package/mesa3d: Add option to build OSMesa André Hentschel
2015-10-13 18:30 ` André Hentschel
2015-10-13 18:41 ` Bernd Kuhls
2015-10-13 19:15 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox