mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/mesa3d-demos: add glut support
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
e6dfc0c68a
commit
8f239e783f
@@ -12,7 +12,6 @@ MESA3D_DEMOS_DEPENDENCIES = host-pkgconf
|
|||||||
MESA3D_DEMOS_LICENSE = MIT
|
MESA3D_DEMOS_LICENSE = MIT
|
||||||
|
|
||||||
MESA3D_DEMOS_CONF_OPTS += \
|
MESA3D_DEMOS_CONF_OPTS += \
|
||||||
--without-glut \
|
|
||||||
--disable-osmesa \
|
--disable-osmesa \
|
||||||
--disable-gles1
|
--disable-gles1
|
||||||
|
|
||||||
@@ -58,6 +57,19 @@ else
|
|||||||
MESA3D_DEMOS_CONF_OPTS += --disable-freetype2
|
MESA3D_DEMOS_CONF_OPTS += --disable-freetype2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBFREEGLUT),y)
|
||||||
|
MESA3D_DEMOS_DEPENDENCIES += libfreeglut
|
||||||
|
MESA3D_DEMOS_CONF_OPTS += --with-glut=$(STAGING_DIR)/usr
|
||||||
|
# osmesa support depends on glut
|
||||||
|
ifeq ($(BR2_PACKAGE_MESA3D_OSMESA),y)
|
||||||
|
MESA3D_DEMOS_CONF_OPTS += --enable-osmesa
|
||||||
|
else
|
||||||
|
MESA3D_DEMOS_CONF_OPTS += --disable-osmesa
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
MESA3D_DEMOS_CONF_OPTS += --without-glut --disable-osmesa
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
||||||
MESA3D_DEMOS_DEPENDENCIES += wayland
|
MESA3D_DEMOS_DEPENDENCIES += wayland
|
||||||
MESA3D_DEMOS_CONF_OPTS += --enable-wayland
|
MESA3D_DEMOS_CONF_OPTS += --enable-wayland
|
||||||
|
|||||||
Reference in New Issue
Block a user