mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
sdl2: add KMS/DRM video driver support
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
f99636a044
commit
0891510dc6
@ -29,6 +29,13 @@ comment "X11 video driver needs X.org"
|
|||||||
depends on !BR2_PACKAGE_XORG7
|
depends on !BR2_PACKAGE_XORG7
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
|
|
||||||
|
config BR2_PACKAGE_SDL2_KMSDRM
|
||||||
|
bool "KMS/DRM video driver"
|
||||||
|
depends on BR2_PACKAGE_LIBDRM
|
||||||
|
|
||||||
|
comment "KMS/DRM video driver needs libdrm"
|
||||||
|
depends on !BR2_PACKAGE_LIBDRM
|
||||||
|
|
||||||
config BR2_PACKAGE_SDL2_OPENGL
|
config BR2_PACKAGE_SDL2_OPENGL
|
||||||
bool "OpenGL (GLX)"
|
bool "OpenGL (GLX)"
|
||||||
depends on BR2_PACKAGE_HAS_LIBGL
|
depends on BR2_PACKAGE_HAS_LIBGL
|
||||||
|
@ -125,4 +125,11 @@ else
|
|||||||
SDL2_CONF_OPTS += --disable-alsa
|
SDL2_CONF_OPTS += --disable-alsa
|
||||||
endif
|
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))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user