diff mbox series

[1/1] package/mtd: add ubihealthd missing comment

Message ID 20210827214738.49557-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/mtd: add ubihealthd missing comment | expand

Commit Message

Fabrice Fontaine Aug. 27, 2021, 9:47 p.m. UTC
Commit 42a3fee35e67d8d946f52a82bfa88ee6fd9f04b6 forgot to add comment on
headers 3.17+

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/mtd/Config.in | 3 +++
 1 file changed, 3 insertions(+)

Comments

Yann E. MORIN Aug. 27, 2021, 10:08 p.m. UTC | #1
Fabrice, All,

On 2021-08-27 23:47 +0200, Fabrice Fontaine spake thusly:
> Commit 42a3fee35e67d8d946f52a82bfa88ee6fd9f04b6 forgot to add comment on
> headers 3.17+

Good catch!

> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/mtd/Config.in | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/package/mtd/Config.in b/package/mtd/Config.in
> index d0ca3ba663..c45dd1e2b7 100644
> --- a/package/mtd/Config.in
> +++ b/package/mtd/Config.in
> @@ -148,6 +148,9 @@ config BR2_PACKAGE_MTD_UBIHEALTHD
>  	default y
>  	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # getrandom()
>  
> +comment "ubihealthd needs a toolchain w/ headers >= 3.17"
> +	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
> +
>  config BR2_PACKAGE_MTD_UBIMKVOL
>  	bool "ubimkvol"
>  	default y
> -- 
> 2.32.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/package/mtd/Config.in b/package/mtd/Config.in
index d0ca3ba663..c45dd1e2b7 100644
--- a/package/mtd/Config.in
+++ b/package/mtd/Config.in
@@ -148,6 +148,9 @@  config BR2_PACKAGE_MTD_UBIHEALTHD
 	default y
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # getrandom()
 
+comment "ubihealthd needs a toolchain w/ headers >= 3.17"
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
+
 config BR2_PACKAGE_MTD_UBIMKVOL
 	bool "ubimkvol"
 	default y