alsa-lib: put BR2_PACKAGE_ALSA_LIB_PYTHON under the existing if condition

Instead of duplicating the "depends on BR2_PACKAGE_ALSA_LIB", just put
BR2_PACKAGE_ALSA_LIB_PYTHON under the existing condition "if
BR2_PACKAGE_ALSA_LIB".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni 2012-09-18 07:21:36 +00:00 committed by Peter Korsgaard
parent 34f3d66529
commit e04b4dc7b6

View File

@ -10,9 +10,10 @@ config BR2_PACKAGE_ALSA_LIB
http://www.alsa-project.org/
if BR2_PACKAGE_ALSA_LIB
config BR2_PACKAGE_ALSA_LIB_PYTHON
bool "Python support for alsa-lib"
depends on BR2_PACKAGE_ALSA_LIB
depends on BR2_PACKAGE_PYTHON
help
Add python support for alsa-lib.
@ -20,7 +21,6 @@ config BR2_PACKAGE_ALSA_LIB_PYTHON
in the target directory
http://www.alsa-project.org/
if BR2_PACKAGE_ALSA_LIB
menu "ALSA lib selection"
config BR2_PACKAGE_ALSA_LIB_DEVDIR