|
@@ -104,13 +104,6 @@ else
|
|
|
SDL2_CONF_OPTS += --disable-video-x11-xcursor
|
|
|
endif
|
|
|
|
|
|
-ifeq ($(BR2_PACKAGE_SDL2_WAYLAND),y)
|
|
|
-SDL2_DEPENDENCIES += libegl libxkbcommon wayland wayland-protocols
|
|
|
-SDL2_CONF_OPTS += --enable-video-wayland
|
|
|
-else
|
|
|
-SDL2_CONF_OPTS += --disable-video-wayland
|
|
|
-endif
|
|
|
-
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y)
|
|
|
SDL2_DEPENDENCIES += xlib_libXi
|
|
|
SDL2_CONF_OPTS += --enable-video-x11-xinput
|
|
@@ -136,6 +129,13 @@ else
|
|
|
SDL2_CONF_OPTS += --disable-video-x11 --without-x
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_SDL2_WAYLAND),y)
|
|
|
+SDL2_DEPENDENCIES += libegl libxkbcommon wayland wayland-protocols
|
|
|
+SDL2_CONF_OPTS += --enable-video-wayland
|
|
|
+else
|
|
|
+SDL2_CONF_OPTS += --disable-video-wayland
|
|
|
+endif
|
|
|
+
|
|
|
ifeq ($(BR2_PACKAGE_SDL2_OPENGL),y)
|
|
|
SDL2_CONF_OPTS += --enable-video-opengl
|
|
|
SDL2_DEPENDENCIES += libgl
|