hal: enable custom stereo for apq8009

Enable custom stereo to support dual mono for
apq8009.

Change-Id: Id95639a7422b5fb03964be99449fcaa961e7902b
Signed-off-by: Surendar karka <sukark@codeaurora.org>
diff --git a/configure.ac b/configure.ac
index 805d00c..6e03717 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,6 +117,7 @@
 AM_CONDITIONAL([DTSHD_PARSER], [test x$AUDIO_FEATURE_ENABLED_DTSHD_PARSER = xtrue])
 AM_CONDITIONAL([QAP], [test x$AUDIO_FEATURE_ENABLED_QAP = xtrue])
 AM_CONDITIONAL([AUDIO_HW_FFV], [test x$AUDIO_FEATURE_ENABLED_FFV = xtrue])
+AM_CONDITIONAL([CUSTOM_STEREO], [test x$AUDIO_FEATURE_ENABLED_CUSTOM_STEREO = xtrue])
 
 AC_CONFIG_FILES([ \
         Makefile \
diff --git a/hal/Makefile.am b/hal/Makefile.am
index 8ab3e7c..4f01efc 100644
--- a/hal/Makefile.am
+++ b/hal/Makefile.am
@@ -195,6 +195,10 @@
 c_sources += audio_extn/ffv.c
 endif
 
+if CUSTOM_STEREO
+AM_CFLAGS += -DCUSTOM_STEREO_ENABLED
+endif
+
 h_sources = audio_extn/audio_defs.h \
             audio_extn/audio_extn.h \
             audio_hw.h \