mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
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
|
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
|
if BR2_PACKAGE_MESA3D_DRIVER
|
||||||
|
|
||||||
comment "Additional API Support"
|
comment "Additional API Support"
|
||||||
|
@ -110,6 +110,12 @@ endif
|
|||||||
|
|
||||||
# APIs
|
# APIs
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_MESA3D_OSMESA),y)
|
||||||
|
MESA3D_CONF_OPTS += --enable-osmesa
|
||||||
|
else
|
||||||
|
MESA3D_CONF_OPTS += --disable-osmesa
|
||||||
|
endif
|
||||||
|
|
||||||
# Always enable OpenGL:
|
# Always enable OpenGL:
|
||||||
# - it is needed for GLES (mesa3d's ./configure is a bit weird)
|
# - it is needed for GLES (mesa3d's ./configure is a bit weird)
|
||||||
# - but if no DRI driver is enabled, then libgl is not built,
|
# - but if no DRI driver is enabled, then libgl is not built,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user