Browse Source

ola: depend on python for bindings instead of selecting it

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>
Peter Korsgaard 10 years ago
parent
commit
1f75157994
1 changed files with 2 additions and 4 deletions
  1. 2 4
      package/ola/Config.in

+ 2 - 4
package/ola/Config.in

@@ -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.