From 6085bd12794f5423dde850e44ff1bceb53afda77 Mon Sep 17 00:00:00 2001 From: Dhananjay Kumar Date: Wed, 11 Jul 2018 22:49:01 +0530 Subject: [PATCH] hal: add feature flag to enable instance id support Add feature flag to enable instance id support for non-android builds. Change-Id: I4ab3ab854f557ba63dae60eada8ef951e9d2dced --- configure.ac | 1 + hal/Makefile.am | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index d92c8bb7..ef90749c 100644 --- a/configure.ac +++ b/configure.ac @@ -136,6 +136,7 @@ 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]) AM_CONDITIONAL([RUN_KEEP_ALIVE_IN_ARM_FFV], [test x$AUDIO_FEATURE_ENABLED_KEEP_ALIVE_ARM_FFV = xtrue]) +AM_CONDITIONAL([INSTANCE_ID], [test x$AUDIO_FEATURE_ENABLED_INSTANCE_ID = xtrue]) AC_CONFIG_FILES([ \ Makefile \ diff --git a/hal/Makefile.am b/hal/Makefile.am index 46882f17..995622d5 100644 --- a/hal/Makefile.am +++ b/hal/Makefile.am @@ -204,6 +204,10 @@ if CUSTOM_STEREO AM_CFLAGS += -DCUSTOM_STEREO_ENABLED endif +if INSTANCE_ID +AM_CFLAGS += -DINSTANCE_ID_ENABLED +endif + h_sources = audio_extn/audio_defs.h \ audio_extn/audio_extn.h \ audio_hw.h \