[Buildroot] [PATCH 1/2] package/mtd: change ubifs-utils depend to select

Baruch Siach baruch at tkos.co.il
Thu Aug 26 06:10:35 UTC 2021


BR2_PACKAGE_MTD_UBIFS_UTILS is a blind option. The only way to enable it
is to enable BR2_PACKAGE_MTD_MKFSUBIFS that selects it. ubihealthd
dependency on BR2_PACKAGE_MTD_UBIFS_UTILS makes enabling it unintuitive.

Change depends to select.

Cc: Markus Mayer <mmayer at broadcom.com>
Cc: Matt Weber <matthew.weber at collins.com>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 package/mtd/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/mtd/Config.in b/package/mtd/Config.in
index abfe8066610c..1bd143d47e7d 100644
--- a/package/mtd/Config.in
+++ b/package/mtd/Config.in
@@ -146,7 +146,7 @@ config BR2_PACKAGE_MTD_UBIFORMAT
 config BR2_PACKAGE_MTD_UBIHEALTHD
 	bool "ubihealthd"
 	default y
-	depends on BR2_PACKAGE_MTD_UBIFS_UTILS
+	select BR2_PACKAGE_MTD_UBIFS_UTILS
 
 config BR2_PACKAGE_MTD_UBIMKVOL
 	bool "ubimkvol"
-- 
2.32.0




More information about the buildroot mailing list