[Sound-open-firmware] [PATCH 03/15] [RFC][v2]DMIC: Add configure command switch to disable DMIC feature

Seppo Ingalsuo seppo.ingalsuo at linux.intel.com
Fri May 4 17:01:05 CEST 2018


Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo at linux.intel.com>
---
 configure.ac | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure.ac b/configure.ac
index d67c154..49e58a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,12 @@ if test "$have_rimage" = "yes"; then
 fi
 AM_CONDITIONAL(BUILD_RIMAGE, test "$have_rimage" = "yes")
 
+# Disable DMIC driver if requested, by default build for supported platforms
+AC_ARG_ENABLE([dmic], AS_HELP_STRING([--disable-dmic], [Disable DMIC driver]))
+AS_IF([test "x$enable_dmic" != "xno"], [
+	AC_DEFINE([CONFIG_DMIC], [1], [Configure to build DMIC driver])
+])
+
 # Architecture support
 AC_ARG_WITH([arch],
         AS_HELP_STRING([--with-arch], [Specify DSP architecture]),
-- 
2.14.1



More information about the Sound-open-firmware mailing list