gnuradio: break dependency chain by using 'depends on'

This commit fixes the following recursive dependency:

package/python/Config.in:5:error: recursive dependency detected!
package/python/Config.in:5:	symbol BR2_PACKAGE_PYTHON is selected by BR2_PACKAGE_GNURADIO_PYTHON
package/gnuradio/Config.in:46:	symbol BR2_PACKAGE_GNURADIO_PYTHON is selected by BR2_PACKAGE_GNURADIO_UTILS
package/gnuradio/Config.in:55:	symbol BR2_PACKAGE_GNURADIO_UTILS depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
package/python-numpy/Config.in:1:	symbol BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS depends on BR2_PACKAGE_PYTHON

by replacing the "select BR2_PACKAGE_PYTHON" by a "depends on
BR2_PACKAGE_PYTHON", and ditto for the BR2_PACKAGE_GNURADIO_PYTHON
selection.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2015-10-09 23:28:56 +02:00
parent 25677a717c
commit ef531c6ded

View file

@ -45,17 +45,16 @@ config BR2_PACKAGE_GNURADIO_FEC
config BR2_PACKAGE_GNURADIO_PYTHON
bool "python support"
depends on BR2_PACKAGE_PYTHON
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
select BR2_PACKAGE_BOOST_PYTHON
select BR2_PACKAGE_PYTHON
select BR2_PACKAGE_PYTHON_NUMPY # runtime
help
Enable python component
config BR2_PACKAGE_GNURADIO_UTILS
bool "gr-utils support"
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
select BR2_PACKAGE_GNURADIO_PYTHON
depends on BR2_PACKAGE_GNURADIO_PYTHON
help
Misc python utilities