package/cog: add dep on libgbm's dmabuf & plane-count-modifier features
cog uses the dmabuf and plane-count-modifier features from libgbm.
These are provided by mesa3d, but may not be provided by other libgbm
providers.
So, make this a dependency.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 8bbf5cb7cf
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
7b166d93e2
commit
cd852bca8e
@ -41,6 +41,8 @@ config BR2_PACKAGE_COG_PLATFORM_DRM
|
||||
depends on BR2_PACKAGE_HAS_UDEV # libinput
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
depends on BR2_PACKAGE_HAS_LIBGBM
|
||||
depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF
|
||||
depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
select BR2_PACKAGE_LIBINPUT
|
||||
help
|
||||
@ -56,6 +58,8 @@ config BR2_PACKAGE_COG_USE_SYSTEM_DBUS
|
||||
comment "DRM platform needs EGL and GBM"
|
||||
depends on \
|
||||
!BR2_PACKAGE_HAS_LIBEGL || \
|
||||
!BR2_PACKAGE_HAS_LIBGBM
|
||||
!BR2_PACKAGE_HAS_LIBGBM || \
|
||||
!BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF || \
|
||||
!BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
|
||||
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user