[Buildroot] [PATCH 1/5] package/binutils: disable gprofng support for each known unsupported version

Romain Naour romain.naour at gmail.com
Sun Jun 11 13:16:27 UTC 2023


While adding new binutils version, the gprofng support will
no longer only available with one specific version.

Instead disable gprofng explicitely for each binutils
version that are know too old to support it.

Signed-off-by: Romain Naour <romain.naour at gmail.com>
---
 package/binutils/Config.in.host | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index 5dd2af2f9c..6e93b65c3e 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -39,7 +39,9 @@ config BR2_BINUTILS_VERSION
 
 config BR2_BINUTILS_GPROFNG
 	bool "gprofng support"
-	depends on BR2_BINUTILS_VERSION_2_39_X
+	depends on !BR2_BINUTILS_VERSION_ARC
+	depends on !BR2_BINUTILS_VERSION_2_37_X
+	depends on !BR2_BINUTILS_VERSION_2_38_X
 	help
 	  This option enables support for gprofng, a new profiler.
 
-- 
2.40.1




More information about the buildroot mailing list