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>
This commit is contained in:
Peter Korsgaard 2015-05-06 23:42:44 +02:00
parent 842f6a3b7f
commit 1f75157994

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