Patchwork classpath: fix alsa-related build failure

login
register
mail settings
Submitter Gustavo Zacarias
Date July 4, 2013, 4:18 p.m.
Message ID <1372954712-30134-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/256963/
State Accepted
Commit bf62ec1c4e6fc098dcd9b963a94a2a41c381f145
Headers show

Comments

Gustavo Zacarias - July 4, 2013, 4:18 p.m.
Classpath requires sequencer support besides pcm support. Fixes:
http://autobuild.buildroot.org/results/2bd/2bd39ffa821bc02d64998bc9e8fe178d3741a1d8/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/classpath/classpath.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Peter Korsgaard - July 7, 2013, 10:16 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Classpath requires sequencer support besides pcm support. Fixes:
 Gustavo> http://autobuild.buildroot.org/results/2bd/2bd39ffa821bc02d64998bc9e8fe178d3741a1d8/

Committed, thanks.

Patch

diff --git a/package/classpath/classpath.mk b/package/classpath/classpath.mk
index c305178..fbf80f0 100644
--- a/package/classpath/classpath.mk
+++ b/package/classpath/classpath.mk
@@ -22,7 +22,9 @@  CLASSPATH_AUTORECONF = YES
 CLASSPATH_LICENSE = GPLv2+ with exception
 CLASSPATH_LICENSE_FILES = COPYING
 
-ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+# Needs ALSA pcm and sequencer (midi) support
+# pcm is always on for alsa-lib
+ifeq ($(BR2_PACKAGE_ALSA_LIB_SEQ),y)
 CLASSPATH_CONF_OPT += --enable-alsa
 CLASSPATH_DEPENDENCIES += alsa-lib
 else