Browse Source

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>
Thomas Petazzoni 3 years ago
parent
commit
2b5f7ce292
1 changed files with 11 additions and 10 deletions
  1. 11 10
      package/opengl/libgbm/Config.in

+ 11 - 10
package/opengl/libgbm/Config.in

@@ -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.