ola: depend on python for bindings instead of selecting it
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 6 May 2015 21:42:44 +0000 (23:42 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 6 May 2015 21:48:51 +0000 (23:48 +0200)
Most likely people have already enabled python if they want to use the
bindings for ola, so use depends on instead of select so we don't need to
propagate the dependencies here.

Python already depends on mmu, so drop that here.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ola/Config.in

index 1c4b8d82fb221c4941e4983ba32ed2c07936a4c9..f587db5ad0acbb88bf4920d4353af3710903d016 100644 (file)
@@ -32,9 +32,8 @@ config BR2_PACKAGE_OLA_WEB
 
 config BR2_PACKAGE_OLA_PYTHON_BINDINGS
        bool "python bindings"
-       select BR2_PACKAGE_PYTHON
+       depends on BR2_PACKAGE_PYTHON
        select BR2_PACKAGE_PYTHON_PROTOBUF
-       depends on BR2_USE_MMU
        help
          Build OLA with support for the Python language.
 
@@ -55,8 +54,7 @@ config BR2_PACKAGE_OLA_EXAMPLES
 
 config BR2_PACKAGE_OLA_RDM_TESTS
        bool "rdm tests"
-       select BR2_PACKAGE_OLA_PYTHON_BINDINGS
-       depends on BR2_USE_MMU
+       depends on BR2_PACKAGE_OLA_PYTHON_BINDINGS
        help
          Build OLA RDM tests.