gnuradio: break dependency chain by using 'depends on'
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 9 Oct 2015 21:28:56 +0000 (23:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 9 Oct 2015 21:28:56 +0000 (23:28 +0200)
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>
package/gnuradio/Config.in

index 78ea5b7ded816a3fddab37550724494221f28b56..603532cf0c9672ad08aa050054dfe46f4f167971 100644 (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