mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/ndctl: 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_NDCTL [=y] && BR2_PACKAGE_HAS_UDEV [=y] && BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_USE_MMU [=y] Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
0ceddf2ac0
commit
82f1e6f50e
@@ -2,6 +2,7 @@ config BR2_PACKAGE_NDCTL
|
||||
bool "ndctl"
|
||||
depends on BR2_PACKAGE_HAS_UDEV
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 # __struct_group()
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU
|
||||
select BR2_PACKAGE_INIPARSER
|
||||
@@ -20,6 +21,7 @@ config BR2_PACKAGE_NDCTL
|
||||
|
||||
comment "ndctl needs udev /dev management, a toolchain headers >= 5.10"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_PACKAGE_HAS_UDEV \
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
|
||||
|
||||
Reference in New Issue
Block a user