From fbbf702f00d7f92bf3a33ac880b1c8942998bbac Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 8 Jan 2022 17:12:01 +0100 Subject: [PATCH] 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 (cherry picked from commit 2b5f7ce29288e2ba393ca7cd4768a83cdb5dec48) Signed-off-by: Peter Korsgaard --- package/opengl/libgbm/Config.in | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/package/opengl/libgbm/Config.in b/package/opengl/libgbm/Config.in index 7aa3efb97a..6eb39761c4 100644 --- a/package/opengl/libgbm/Config.in +++ b/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.