Quellcode durchsuchen

package/sdl2: drop directfb support

As we're about to remove the DirectFB package, let's drop DirectFB
support in sdl2.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Thomas Petazzoni vor 7 Monaten
Ursprung
Commit
6b8025042d
3 geänderte Dateien mit 8 neuen und 15 gelöschten Zeilen
  1. 7 0
      Config.in.legacy
  2. 0 7
      package/sdl2/Config.in
  3. 1 8
      package/sdl2/sdl2.mk

+ 7 - 0
Config.in.legacy

@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2025.02"
 
+config BR2_PACKAGE_SDL2_DIRECTFB
+	bool "sdl2 directfb support removed"
+	select BR2_LEGACY
+	help
+	  The directfb support from SDL2 is no longer available, as
+	  directfb is no longer packaged in Buildroot.
+
 config BR2_PACKAGE_SDL_DIRECTFB
 	bool "sdl directfb support removed"
 	select BR2_LEGACY

+ 0 - 7
package/sdl2/Config.in

@@ -11,13 +11,6 @@ config BR2_PACKAGE_SDL2
 
 if BR2_PACKAGE_SDL2
 
-config BR2_PACKAGE_SDL2_DIRECTFB
-	bool "DirectFB video driver"
-	depends on BR2_PACKAGE_DIRECTFB
-
-comment "DirectFB video driver needs directfb"
-	depends on !BR2_PACKAGE_DIRECTFB
-
 config BR2_PACKAGE_SDL2_X11
 	bool "X11 video driver"
 	depends on BR2_PACKAGE_XORG7

+ 1 - 8
package/sdl2/sdl2.mk

@@ -27,6 +27,7 @@ SDL2_CONF_OPTS += \
 	--disable-video-dummy \
 	--disable-video-offscreen \
 	--disable-video-vulkan \
+	--disable-video-directfb \
 	--disable-ime \
 	--disable-ibus \
 	--disable-fcitx \
@@ -77,14 +78,6 @@ else
 SDL2_CONF_OPTS += --disable-3dnow
 endif
 
-ifeq ($(BR2_PACKAGE_SDL2_DIRECTFB),y)
-SDL2_DEPENDENCIES += directfb
-SDL2_CONF_OPTS += --enable-video-directfb
-SDL2_CONF_ENV += ac_cv_path_DIRECTFBCONFIG=$(STAGING_DIR)/usr/bin/directfb-config
-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