From 0e425556912baec390b8fadaca2d31e9ed722206 Mon Sep 17 00:00:00 2001 From: Romain Naour <romain.naour@gmail.com> Date: Sun, 11 Jun 2023 15:16:27 +0200 Subject: [PATCH] package/binutils: invert version logic 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@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@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.