package/mesa3d: Add option to build OSMesa
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: André Hentschel <nerv@dawncrow.de> Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
7340143a5c
commit
81537f284f
@ -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"
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user