Initial Commit
- initial default booting image
This commit is contained in:
81
package/sdl3/Config.in
Normal file
81
package/sdl3/Config.in
Normal file
@@ -0,0 +1,81 @@
|
||||
config BR2_PACKAGE_SDL3
|
||||
bool "sdl3"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
Simple DirectMedia Layer 3 - SDL3 is a library that allows
|
||||
programs portable low level access to a video framebuffer,
|
||||
audio output, mouse, and keyboard. It is not compatible with
|
||||
SDL2.
|
||||
|
||||
http://www.libsdl.org/
|
||||
|
||||
if BR2_PACKAGE_SDL3
|
||||
|
||||
config BR2_PACKAGE_SDL3_X11
|
||||
bool "X11 video driver"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT
|
||||
|
||||
comment "X11 video driver needs X.org"
|
||||
depends on !BR2_PACKAGE_XORG7
|
||||
depends on BR2_USE_MMU
|
||||
|
||||
config BR2_PACKAGE_SDL3_KMSDRM
|
||||
bool "KMS/DRM video driver"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
|
||||
depends on BR2_PACKAGE_HAS_LIBGBM
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
depends on BR2_PACKAGE_SDL3_OPENGL || BR2_PACKAGE_SDL3_OPENGLES
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
|
||||
comment "KMS/DRM video driver needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
comment "KMS/DRM video driver needs a GBM provider, and OpenGL or OpenGLES+EGL"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGBM || \
|
||||
!BR2_PACKAGE_HAS_LIBEGL || \
|
||||
!(BR2_PACKAGE_SDL3_OPENGL || BR2_PACKAGE_SDL3_OPENGLES)
|
||||
|
||||
config BR2_PACKAGE_SDL3_WAYLAND
|
||||
bool "Wayland video driver"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
|
||||
depends on BR2_PACKAGE_WAYLAND
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
depends on BR2_PACKAGE_SDL3_OPENGLES
|
||||
select BR2_PACKAGE_LIBXKBCOMMON
|
||||
select BR2_PACKAGE_WAYLAND_PROTOCOLS
|
||||
|
||||
comment "Wayland video driver needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
comment "Wayland video driver needs wayland with an OpenGLES+EGL backend"
|
||||
depends on !BR2_PACKAGE_WAYLAND || \
|
||||
!BR2_PACKAGE_HAS_LIBEGL || \
|
||||
!BR2_PACKAGE_SDL3_OPENGLES
|
||||
|
||||
config BR2_PACKAGE_SDL3_OPENGL
|
||||
bool "OpenGL (GLX)"
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_USE_MMU # X11 video driver
|
||||
select BR2_PACKAGE_SDL3_X11
|
||||
|
||||
comment "OpenGL support needs X11 and an OpenGL provider"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7
|
||||
|
||||
config BR2_PACKAGE_SDL3_OPENGLES
|
||||
bool "OpenGL ES"
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
|
||||
comment "OpenGL ES support needs an OpenGL ES provider"
|
||||
depends on !BR2_PACKAGE_HAS_LIBGLES
|
||||
|
||||
endif
|
||||
|
||||
comment "sdl3 needs a toolchain w/ dynamic library, threads, wchar"
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|
||||
Reference in New Issue
Block a user