summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2012-07-16 17:57:25 -0700
committerGerrit <chrome-bot@google.com>2012-07-25 12:33:41 -0700
commitd3474cbb9e37fa68e463ba79f59222d3b5edd8a0 (patch)
tree02aecb7b9df6007e175ecaa40b2fb23b4379e3df /Makefile
parent1afc42d289f48a886b01014f092c2b151292c440 (diff)
downloadadhd-d3474cbb9e37fa68e463ba79f59222d3b5edd8a0.tar.gz
CRAS: config - blacklist fake playback device on CAD-u1 mic.
This microphone presents a fully functional playback device, but doesn't actually have a speaker. BUG=chromium-os:32278 TEST=gmerge adhd, insert CAD-u1 mic and test that audio remains playing through built-in speakers. Change-Id: I24670e14efa6bd1434711be8506d8baedf5c0ab7 Signed-off-by: Dylan Reid <dgreid@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/27609 Reviewed-by: Olof Johansson <olofj@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d660e0d6..5ed2877e 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,10 @@ $(DESTDIR)/etc/asound.state: $(ADHD_DIR)/factory-default/asound.state.$(BOARD)
$(ECHO) "Installing '$<' to '$@'"
$(INSTALL) --mode 644 -D $< $@
+$(DESTDIR)/etc/cras/device_blacklist: $(ADHD_DIR)/cras-config/device_blacklist
+ $(ECHO) "Installing '$<' to '$@'"
+ $(INSTALL) --mode 644 -D $< $@
+
optional_alsa_conf := $(wildcard $(ADHD_DIR)/alsa-module-config/alsa-$(BOARD).conf)
ifneq ($(strip $(optional_alsa_conf)),)
@@ -57,6 +61,7 @@ endif
install: $(DESTDIR)/etc/init/cras.conf \
$(DESTDIR)/etc/asound.state \
+ $(DESTDIR)/etc/cras/device_blacklist \
$(DESTDIR)/lib/udev/rules.d/99-dev-input-group.rules \
cras_install
clean: