aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2016-04-14 16:43:48 +0100
committerYongqin Liu <yongqin.liu@linaro.org>2016-04-14 16:43:48 +0100
commitf7eb6b981687955d8757c8c4aad65483e4e58d54 (patch)
tree688697f37ff621a11556b97cb8a4dca8fe71ae23
parent233223284ee8905f731c8e4ffa055a99547f7e8a (diff)
downloadvexpress-linaro-n-preview.tar.gz
audio/Android.mk: update for android n previewRLCR-16.11linaro-nougatlinaro-n-previewRLCR-16.09
use LOCAL_MODULE_RELATIVE_PATH to replace LOCAL_MODULE_PATH Change-Id: I8b5f7a41661b63a883a38cee244155a1f5179fad Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r--audio/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/Android.mk b/audio/Android.mk
index a55fe72..29b9c39 100644
--- a/audio/Android.mk
+++ b/audio/Android.mk
@@ -1,3 +1,4 @@
+ifeq ($(strip $(TARGET_PRODUCT)),vexpress)
# ifeq ($(strip $(BOARD_USES_TINY_AUDIO_HW)),true)
LOCAL_PATH := $(call my-dir)
@@ -6,7 +7,7 @@ include $(CLEAR_VARS)
# Should change this so the enable variable gets used as the name?
LOCAL_MODULE := audio.primary.vexpress
-LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
+LOCAL_MODULE_RELATIVE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_SRC_FILES := audio_hw.c
LOCAL_C_INCLUDES += \
external/tinyalsa/include \
@@ -20,3 +21,4 @@ LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
# endif
+endif