summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Rebello <rprebello@gmail.com>2015-10-21 01:10:25 -0200
committerPeter Korsgaard <peter@korsgaard.com>2015-10-21 10:07:21 +0200
commit3b884e44e0ef857eef1e95719c2e230b687e79a2 (patch)
treeca744ab44cb62e21f179a1199be88a2677a3b0b1
parent3c943477f6c5fad59c4dc3be1e4a0b113384c60a (diff)
downloadbuildroot-3b884e44e0ef857eef1e95719c2e230b687e79a2.tar.gz
buildroot-3b884e44e0ef857eef1e95719c2e230b687e79a2.zip
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). Signed-off-by: Rodrigo Rebello <rprebello@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/sdl/sdl.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index 05d9a54701..78eb4ddd8d 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -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)
OpenPOWER on IntegriCloud