classpath: fix alsa-related build failure
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 4 Jul 2013 16:18:32 +0000 (13:18 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 7 Jul 2013 22:15:55 +0000 (00:15 +0200)
Classpath requires sequencer support besides pcm support. Fixes:
http://autobuild.buildroot.org/results/2bd/2bd39ffa821bc02d64998bc9e8fe178d3741a1d8/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/classpath/classpath.mk

index c3051785e2dad48c759bd645c624358818976fe3..fbf80f0ced67b2896ec8de348bd888c8f1ecdce9 100644 (file)
@@ -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