[Buildroot] [git commit] package/binutils: invert version logic

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Jul 1 21:02:09 UTC 2023


commit: https://git.buildroot.net/buildroot/commit/?id=0e425556912baec390b8fadaca2d31e9ed722206
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

BR2_BINUTILS_GPROFNG was made available for known supported versions
only (binutils 2.39 at this point). As all new versions of binutils
support gprofng, it makes sense to invert the logic, and instead make
BR2_BINUTILS_GPROFNG not available with old binutils versions.

Signed-off-by: Romain Naour <romain.naour at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.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.
 



More information about the buildroot mailing list