summaryrefslogtreecommitdiffstats
path: root/mm-audio
diff options
context:
space:
mode:
authorSachin Mohan Gadag <sgadag@codeaurora.org>2018-03-19 12:18:26 +0530
committerSachin Mohan Gadag <sgadag@codeaurora.org>2018-03-19 12:18:26 +0530
commit0d2d39af15ba8afed9049b8dfde709ce0ed1ec6c (patch)
treeafc40b1097d29e7346aa856ece52c98b5f2775e6 /mm-audio
parentbd4ce4651d86dd5e69e7f21e2f6d7487efebc1e0 (diff)
downloadandroid_hardware_qcom_audio-0d2d39af15ba8afed9049b8dfde709ce0ed1ec6c.tar.gz
android_hardware_qcom_audio-0d2d39af15ba8afed9049b8dfde709ce0ed1ec6c.tar.bz2
android_hardware_qcom_audio-0d2d39af15ba8afed9049b8dfde709ce0ed1ec6c.zip
audio: Fix compilation issue
Add audio-driver headers files path to search directory list during compilation process. Change-Id: Ie7c5b50a7bcdfb62af33f83dec64936c6b53cabf
Diffstat (limited to 'mm-audio')
-rw-r--r--mm-audio/aenc-aac/qdsp6/Makefile.am1
-rw-r--r--mm-audio/aenc-amrnb/qdsp6/Makefile.am1
-rw-r--r--mm-audio/aenc-g711/qdsp6/Makefile.am1
3 files changed, 3 insertions, 0 deletions
diff --git a/mm-audio/aenc-aac/qdsp6/Makefile.am b/mm-audio/aenc-aac/qdsp6/Makefile.am
index 08c9bee0..67f0bf18 100644
--- a/mm-audio/aenc-aac/qdsp6/Makefile.am
+++ b/mm-audio/aenc-aac/qdsp6/Makefile.am
@@ -17,6 +17,7 @@ AM_CPPFLAGS += -DFEATURE_DSM_DUP_ITEMS
AM_CPPFLAGS += -DNDEBUG
AM_CPPFLAGS += -Iinc
AM_CPPFLAGS += -I ${WORKSPACE}/hardware/qcom/media/mm-core/inc/
+AM_CPPFLAGS += -I $(PKG_CONFIG_SYSROOT_DIR)/usr/include/audio-kernel
c_sources =src/omx_aac_aenc.cpp
c_sources +=src/aenc_svr.c
diff --git a/mm-audio/aenc-amrnb/qdsp6/Makefile.am b/mm-audio/aenc-amrnb/qdsp6/Makefile.am
index 8becd078..1b7ed7c5 100644
--- a/mm-audio/aenc-amrnb/qdsp6/Makefile.am
+++ b/mm-audio/aenc-amrnb/qdsp6/Makefile.am
@@ -17,6 +17,7 @@ AM_CPPFLAGS += -DFEATURE_LINUX
AM_CPPFLAGS += -DFEATURE_NATIVELINUX -Dstrlcpy=g_strlcpy
AM_CPPFLAGS += -DFEATURE_DSM_DUP_ITEMS
AM_CPPFLAGS += -I ${WORKSPACE}/hardware/qcom/media/mm-core/inc/
+AM_CPPFLAGS += -I $(PKG_CONFIG_SYSROOT_DIR)/usr/include/audio-kernel
AM_CPPFLAGS += -g
AM_CPPFLAGS += -DNDEBUG
diff --git a/mm-audio/aenc-g711/qdsp6/Makefile.am b/mm-audio/aenc-g711/qdsp6/Makefile.am
index 02b0d575..9f424490 100644
--- a/mm-audio/aenc-g711/qdsp6/Makefile.am
+++ b/mm-audio/aenc-g711/qdsp6/Makefile.am
@@ -11,6 +11,7 @@ AM_CFLAGS = -Wall \
-DNDEBUG \
-DAUDIOV2 \
-I inc \
+ -I $(PKG_CONFIG_SYSROOT_DIR)/usr/include/audio-kernel \
-I ${WORKSPACE}/hardware/qcom/media/mm-core/inc/
C_SOURCES = src/aenc_svr.c \