mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
PACKAGE: Add DirectFB2 & SDL2 (#134)
* Add SDL2 + DirectFB2 --------- Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user