summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-02-25 14:53:01 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-02-25 14:53:01 (GMT)
commit5c54347c35006acbcade56256b5b09d12ee8938d (patch)
treeb9caa832fbbeb6c8a525129172ba6f87dc32ac93
parent2c1fecebaa4e7378042783d7ef81fa55b0ffdc42 (diff)
downloadbuildroot-5c54347c35006acbcade56256b5b09d12ee8938d.tar.gz
buildroot-5c54347c35006acbcade56256b5b09d12ee8938d.tar.bz2
enlightenment: Alsa backend needs mixer support
Fixes http://autobuild.buildroot.net/results/3d6e35e3cda9428cc422b4f6203ba912bdc11faf/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/enlightenment/enlightenment.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/enlightenment/enlightenment.mk b/package/enlightenment/enlightenment.mk
index cd3b21f..5d77869 100644
--- a/package/enlightenment/enlightenment.mk
+++ b/package/enlightenment/enlightenment.mk
@@ -28,6 +28,13 @@ ENLIGHTENMENT_CONF_OPT = --with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
--with-eet-eet=$(HOST_DIR)/usr/bin/eet \
--disable-rpath
+# alsa backend needs mixer support
+ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
+ENLIGHTENMENT_DEPENDENCIES += alsa-lib
+else
+ENLIGHTENMENT_CONF_ENV += enable_alsa=no
+endif
+
ifeq ($(BR2_HAVE_DOCUMENTATION),)
define ENLIGHTENMENT_REMOVE_DOCUMENTATION
rm -rf $(TARGET_DIR)/usr/share/enlightenment/doc/