summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-07-04 13:18:32 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2013-07-08 00:15:55 +0200
commitbf62ec1c4e6fc098dcd9b963a94a2a41c381f145 (patch)
tree3ff828b46f690d07901a4d78c239a5656e6bc7dd
parent44b16fb3972757e8936f753bca8c8bf621b5ef2b (diff)
downloadbuildroot-novena-bf62ec1c4e6fc098dcd9b963a94a2a41c381f145.tar.gz
buildroot-novena-bf62ec1c4e6fc098dcd9b963a94a2a41c381f145.zip
classpath: fix alsa-related build failure
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>
-rw-r--r--package/classpath/classpath.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/classpath/classpath.mk b/package/classpath/classpath.mk
index c3051785e..fbf80f0ce 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