Skip to contentSkip to conversation

sdl: fix incorrect SDL_CONF_OPTS assignment

PATCH New Rodrigo Rebello 2 participants 2 messages Oct 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sdl: fix incorrect SDL_CONF_OPTS assignment

The option --enable-video-directfb=no was being assigned to SDL_CONF_OPTS instead of being appended to it when BR2_PACKAGE_SDL_DIRECTFB was disabled. That would clobber any options previously added to SDL_CONF_OPTS (namely --enable-video-fbcon=yes|no).

---
 package/sdl/sdl.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/sdl/sdl.mk +1 -1
index 05d9a54..78eb4dd 100644
@@ -34,7 +34,7 @@ SDL_DEPENDENCIES += directfb
 SDL_CONF_OPTS += --enable-video-directfb=yes
 SDL_CONF_ENV = ac_cv_path_DIRECTFBCONFIG=$(STAGING_DIR)/usr/bin/directfb-config
 else
-SDL_CONF_OPTS = --enable-video-directfb=no
+SDL_CONF_OPTS += --enable-video-directfb=no
 endif
 
 ifeq ($(BR2_PACKAGE_SDL_QTOPIA),y)
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 sdl: fix incorrect SDL_CONF_OPTS assignment

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Rodrigo" == Rodrigo Rebello <[email protected]> writes:

The option --enable-video-directfb=no was being assigned to SDL_CONF_OPTS instead of being appended to it when BR2_PACKAGE_SDL_DIRECTFB was disabled. That would clobber any options previously added to SDL_CONF_OPTS (namely --enable-video-fbcon=yes|no).

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard