Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SDL2_VERSION = 2.0.7
|
||||
SDL2_VERSION = 2.0.8
|
||||
SDL2_SOURCE = SDL2-$(SDL2_VERSION).tar.gz
|
||||
SDL2_SITE = http://www.libsdl.org/release
|
||||
SDL2_LICENSE = zlib
|
||||
SDL2_LICENSE = Zlib
|
||||
SDL2_LICENSE_FILES = COPYING.txt
|
||||
SDL2_INSTALL_STAGING = YES
|
||||
SDL2_CONFIG_SCRIPTS = sdl2-config
|
||||
@@ -18,10 +18,7 @@ SDL2_CONF_OPTS += \
|
||||
--disable-esd \
|
||||
--disable-dbus \
|
||||
--disable-pulseaudio \
|
||||
--disable-video-opengl \
|
||||
--disable-video-opengles \
|
||||
--disable-video-wayland \
|
||||
--disable-video-rpi
|
||||
--disable-video-wayland
|
||||
|
||||
# We must enable static build to get compilation successful.
|
||||
SDL2_CONF_OPTS += --enable-static
|
||||
@@ -41,6 +38,13 @@ else
|
||||
SDL2_CONF_OPTS += --disable-video-directfb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL2_OPENGLES)$(BR2_PACKAGE_RPI_USERLAND),yy)
|
||||
SDL2_DEPENDENCIES += rpi-userland
|
||||
SDL2_CONF_OPTS += --enable-video-rpi
|
||||
else
|
||||
SDL2_CONF_OPTS += --disable-video-rpi
|
||||
endif
|
||||
|
||||
# x-includes and x-libraries must be set for cross-compiling
|
||||
# By default x_includes and x_libraries contains unsafe paths.
|
||||
# (/usr/X11R6/include and /usr/X11R6/lib)
|
||||
@@ -51,7 +55,7 @@ SDL2_DEPENDENCIES += xlib_libX11 xlib_libXext
|
||||
SDL2_CONF_OPTS += --enable-video-x11 \
|
||||
--with-x=$(STAGING_DIR) \
|
||||
--x-includes=$(STAGING_DIR)/usr/include \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib \
|
||||
--enable-video-x11-xshape
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
|
||||
@@ -100,6 +104,20 @@ else
|
||||
SDL2_CONF_OPTS += --disable-video-x11 --without-x
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL2_OPENGL),y)
|
||||
SDL2_CONF_OPTS += --enable-video-opengl
|
||||
SDL2_DEPENDENCIES += libgl
|
||||
else
|
||||
SDL2_CONF_OPTS += --disable-video-opengl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL2_OPENGLES),y)
|
||||
SDL2_CONF_OPTS += --enable-video-opengles
|
||||
SDL2_DEPENDENCIES += libgles
|
||||
else
|
||||
SDL2_CONF_OPTS += --disable-video-opengles
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TSLIB),y)
|
||||
SDL2_DEPENDENCIES += tslib
|
||||
SDL2_CONF_OPTS += --enable-input-tslib
|
||||
@@ -114,4 +132,11 @@ else
|
||||
SDL2_CONF_OPTS += --disable-alsa
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL2_KMSDRM),y)
|
||||
SDL2_DEPENDENCIES += libdrm
|
||||
SDL2_CONF_OPTS += --enable-video-kmsdrm
|
||||
else
|
||||
SDL2_CONF_OPTS += --disable-video-kmsdrm
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user