package/opengl/libgbm: clarify option comments

The comments were *after* the option they applied to, which was
confusing, so bring back the comments before the option they apply to.

In addition, instead of saying "this option", explicitly name the
option to clear any ambiguity.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 2b5f7ce292)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni 2022-01-08 17:12:01 +01:00 committed by Peter Korsgaard
parent e5e649a544
commit fbbf702f00

View File

@ -5,20 +5,21 @@ config BR2_PACKAGE_PROVIDES_LIBGBM
string
depends on BR2_PACKAGE_HAS_LIBGBM
# gbm implementations should select
# BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT if they
# provide the format modifier plane count feature. This API was
# initially introduced in mesa3d version 17. A gbm implementation
# provides this feature if it is implement function
# gbm_device_get_format_modifier_plane_count.
config BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
bool
depends on BR2_PACKAGE_HAS_LIBGBM
# gbm implementations should select this option if they provide the
# format modifier plane count feature. This API was initially introduced
# in mesa3d version 17. A gbm implementation provides this feature if it
# is implement function gbm_device_get_format_modifier_plane_count.
# gbm implementations should select
# BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF if they provide the dma
# buffer feature. This API was initially introduced in mesa3d version
# 10. A gbm implementation provides this feature if it is implement
# function gbm_bo_get_fd.
config BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF
bool
depends on BR2_PACKAGE_HAS_LIBGBM
# gbm implementations should select this option if they provide the
# dma buffer feature. This API was initially introduced in mesa3d
# version 10. A gbm implementation provides this feature if it
# is implement function gbm_bo_get_fd.