From 4dbda7cba14dbfec5e43ee3c028c883b94e3f16a Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 16 Sep 2026 00:11:08 +0200 Subject: [PATCH] package/gnuradio: show Config.in comment only when needed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The comment about the toolchain requirements to have Python support in gnuradio is always displayed, even if architecture requirements are not met and if Python is not enabled. For the latter: the option BR2_PACKAGE_GNURADIO_PYTHON also depends on python, so it makes sense for the Config.in comment to also depend on it. Fixes: 7a546b87d5b8781b03f3ba5d311d61f4169ee899 ("package/python-numpy: add reverse dependency on packages using python-numpy") Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain (cherry picked from commit fbb9739dd8012bbd33098a05b6eae91ff13ce71f) Signed-off-by: Raphaël Mélotte --- package/gnuradio/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/gnuradio/Config.in b/package/gnuradio/Config.in index 157f187c4a..d7cfddd003 100644 --- a/package/gnuradio/Config.in +++ b/package/gnuradio/Config.in @@ -89,6 +89,8 @@ config BR2_PACKAGE_GNURADIO_PYTHON Enable python component comment "python support needs a glibc or musl toolchain w/ gcc >= 9, host gcc >= 9" + depends on BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || !BR2_HOST_GCC_AT_LEAST_9 || \ !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)