alsa-lib: put BR2_PACKAGE_ALSA_LIB_PYTHON under the existing if condition
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Sep 2012 07:21:36 +0000 (07:21 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 20 Sep 2012 19:46:59 +0000 (21:46 +0200)
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>
package/alsa-lib/Config.in

index 98b83139d7de810a5485ad2d5ebd4da4148f6fc5..8123b5f3e5cfa44903afb3ef2c1ef82577d9ebf1 100644 (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