Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] alsa-lib: put BR2_PACKAGE_ALSA_LIB_PYTHON under the existing if condition
@ 2012-09-18 17:21 Thomas Petazzoni
  2012-09-18 17:21 ` [Buildroot] [PATCH 2/3] alsa-lib: require thread support Thomas Petazzoni
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2012-09-18 17:21 UTC (permalink / raw)
  To: buildroot

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>
---
 package/alsa-lib/Config.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/alsa-lib/Config.in b/package/alsa-lib/Config.in
index 98b8313..8123b5f 100644
--- a/package/alsa-lib/Config.in
+++ b/package/alsa-lib/Config.in
@@ -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
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-09-20 19:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-18 17:21 [Buildroot] [PATCH 1/3] alsa-lib: put BR2_PACKAGE_ALSA_LIB_PYTHON under the existing if condition Thomas Petazzoni
2012-09-18 17:21 ` [Buildroot] [PATCH 2/3] alsa-lib: require thread support Thomas Petazzoni
2012-09-18 17:21 ` [Buildroot] [PATCH 3/3] alsamixergui: use a normal 'select' statement for the alsa-lib dependency Thomas Petazzoni
2012-09-18 21:27 ` [Buildroot] [PATCH 1/3] alsa-lib: put BR2_PACKAGE_ALSA_LIB_PYTHON under the existing if condition Arnout Vandecappelle
2012-09-20 19:51 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox