Merge "audio: Fix kernel-headers dependency"
diff --git a/audio/hal/Android.mk b/audio/hal/Android.mk
index 15136d1..ec2962b 100644
--- a/audio/hal/Android.mk
+++ b/audio/hal/Android.mk
@@ -44,7 +44,8 @@
LOCAL_SRC_FILES += audio_extn/audio_extn.c \
audio_extn/utils.c
-LOCAL_C_INCLUDES += hardware/bsp/qcom/soc/msm8916/kernel-headers
+LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
+LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PCM_OFFLOAD)),true)
LOCAL_CFLAGS += -DPCM_OFFLOAD_ENABLED