mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/gnuradio: show Config.in comment only when needed
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:7a546b87d5("package/python-numpy: add reverse dependency on packages using python-numpy") Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commitfbb9739dd8) Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
committed by
Raphaël Mélotte
parent
76818c5a85
commit
79c0acaa2d
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user