Bug 13756 - SDL2_KMSDRM depends on gbm and egl
Summary: SDL2_KMSDRM depends on gbm and egl
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2021.02.1
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-12 12:06 UTC by stsp
Modified: 2021-11-20 11:27 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
the patch (14.30 KB, patch)
2021-04-12 12:06 UTC, stsp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stsp 2021-04-12 12:06:01 UTC
Created attachment 8901 [details]
the patch

BR2_PACKAGE_SDL2_KMSDRM option is
currently broken. Enabling it doesn't
do anything useful because kmsdrm driver
in sdl2 have more deps.
Namely, it needs BR2_PACKAGE_MESA3D_GBM
and BR2_PACKAGE_MESA3D_OPENGL_EGL.
Additionally it needs the patch that I
extracted from sdl git, to even build
successfully. See "hg diff -r 14526..14527"
in sdl sources.
That patch is attached.
Comment 1 stsp 2021-11-20 11:27:32 UTC
I think this was fixed by 6d664e9cfe
and a new sdl.