PACKAGE: Add DirectFB2 & SDL2 (#134)

* Add SDL2 + DirectFB2

---------

Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
This commit is contained in:
tiopex
2024-11-09 19:59:04 +01:00
committed by GitHub
parent 6f3f36172a
commit 313fad9dbf
14 changed files with 138 additions and 6 deletions

View File

@@ -17,6 +17,10 @@ config BR2_PACKAGE_SDL_DIRECTFB
bool "SDL DirectFB video driver"
depends on BR2_PACKAGE_DIRECTFB
config BR2_PACKAGE_SDL_DIRECTFB2
bool "SDL DirectFB2 video driver"
depends on BR2_PACKAGE_DIRECTFB2
config BR2_PACKAGE_SDL_X11
bool "SDL X11 video driver"
depends on BR2_PACKAGE_XORG7

View File

@@ -38,10 +38,12 @@ endif
ifeq ($(BR2_PACKAGE_SDL_DIRECTFB),y)
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
endif
ifeq ($(BR2_PACKAGE_SDL_DIRECTFB2),y)
SDL_DEPENDENCIES += directfb2
SDL_CONF_OPTS += --enable-video-directfb
endif
ifeq ($(BR2_PACKAGE_SDL_X11),y)