Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: Michael Fischer <mf@go-sys.de>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 2/3] package/sdl2: be explicit about OpenGL ES options
Date: Fri,  5 Aug 2022 00:15:58 +0200	[thread overview]
Message-ID: <20220804221559.46394-2-thomas.petazzoni@bootlin.com> (raw)
In-Reply-To: <20220804221559.46394-1-thomas.petazzoni@bootlin.com>

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>
---
 package/sdl2/sdl2.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/sdl2/sdl2.mk b/package/sdl2/sdl2.mk
index d255112ce9..c5e7968cec 100644
--- a/package/sdl2/sdl2.mk
+++ b/package/sdl2/sdl2.mk
@@ -155,10 +155,10 @@ 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)
-- 
2.37.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-08-04 22:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-04 22:15 [Buildroot] [PATCH 1/3] package/sdl2: be more explicit in disabling optional features Thomas Petazzoni via buildroot
2022-08-04 22:15 ` Thomas Petazzoni via buildroot [this message]
2022-08-20  8:10   ` [Buildroot] [PATCH 2/3] package/sdl2: be explicit about OpenGL ES options Yann E. MORIN
2022-08-04 22:15 ` [Buildroot] [PATCH 3/3] package/sdl2: rework KMS/DRM video driver dependencies Thomas Petazzoni via buildroot
2022-08-20  8:12   ` Yann E. MORIN
2022-08-22 15:01   ` Yann E. MORIN
2022-08-20  8:10 ` [Buildroot] [PATCH 1/3] package/sdl2: be more explicit in disabling optional features Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220804221559.46394-2-thomas.petazzoni@bootlin.com \
    --to=buildroot@buildroot.org \
    --cc=mf@go-sys.de \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox