package/sdl2: be explicit about OpenGL ES options
In addition to --enable-video-opengles, SDL2 configure script also looks at --enable-video-opengles1 and --enable-video-opengles2. Since all OpenGL ES providers in Buildroot provide at least up to OpenGL ES 2, enable both options when BR2_PACKAGE_SDL2_OPENGLES=y. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> [yann.morin.1998@free.fr: split long lines] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
b35ba00e71
commit
d6df46fb14
@ -155,10 +155,16 @@ SDL2_CONF_OPTS += --disable-video-opengl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL2_OPENGLES),y)
|
||||
SDL2_CONF_OPTS += --enable-video-opengles
|
||||
SDL2_CONF_OPTS += \
|
||||
--enable-video-opengles \
|
||||
--enable-video-opengles1 \
|
||||
--enable-video-opengles2
|
||||
SDL2_DEPENDENCIES += libgles
|
||||
else
|
||||
SDL2_CONF_OPTS += --disable-video-opengles
|
||||
SDL2_CONF_OPTS += \
|
||||
--disable-video-opengles \
|
||||
--disable-video-opengles1 \
|
||||
--disable-video-opengles2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||
|
Loading…
Reference in New Issue
Block a user