diff mbox series

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

Message ID 20230611131631.806432-1-romain.naour@gmail.com
State Accepted
Headers show
Series [1/5] package/binutils: disable gprofng support for each known unsupported version | expand

Commit Message

Romain Naour June 11, 2023, 1:16 p.m. UTC
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@gmail.com>
---
 package/binutils/Config.in.host | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Thomas Petazzoni July 1, 2023, 9:08 p.m. UTC | #1
On Sun, 11 Jun 2023 15:16:27 +0200
Romain Naour <romain.naour@gmail.com> wrote:

> 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@gmail.com>
> ---
>  package/binutils/Config.in.host | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Series applied, thanks!

Thomas
diff mbox series

Patch

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.