summaryrefslogtreecommitdiff
path: root/asoc/codecs/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'asoc/codecs/Kbuild')
-rw-r--r--asoc/codecs/Kbuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/asoc/codecs/Kbuild b/asoc/codecs/Kbuild
index 8e11e9e2..3d9c6b16 100644
--- a/asoc/codecs/Kbuild
+++ b/asoc/codecs/Kbuild
@@ -9,8 +9,12 @@ endif
ifeq ($(KERNEL_BUILD), 1)
# These are configurable via Kconfig for kernel-based builds
# Need to explicitly configure for Android-based builds
- AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-5.4
- AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio
+ ifeq ($(TARGET_SUPPORT), sa525m)
+ AUDIO_ROOT := $(shell pwd)/../../../../vendor/qcom/opensource/audio-kernel
+ else
+ AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-5.4
+ AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio
+ endif
endif
ifeq ($(TARGET_SUPPORT), sa525m)