package/drm-info: propagate json-c dependencies

Fixes:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_JSON_C
  Depends on [n]: BR2_TOOLCHAIN_HAS_SYNC_4 [=n]
  Selected by [y]:
  - BR2_PACKAGE_DRM_INFO [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y]

Signed-off-by: Julien Olivain <ju.o@free.fr>
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
Julien Olivain
2026-05-18 20:52:47 +02:00
committed by Arnout Vandecappelle
parent 1f8905d38c
commit 0ceddf2ac0

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_DRM_INFO
bool "drm_info"
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
select BR2_PACKAGE_JSON_C
select BR2_PACKAGE_LIBDRM
@@ -9,4 +10,5 @@ config BR2_PACKAGE_DRM_INFO
https://gitlab.freedesktop.org/emersion/drm_info
comment "drm_info needs a toolchain w/ threads"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_HAS_THREADS