diff --git a/asoc/Android.mk b/asoc/Android.mk index a5d1c7edad..8ca497c3c3 100644 --- a/asoc/Android.mk +++ b/asoc/Android.mk @@ -33,7 +33,7 @@ LOCAL_PATH := $(call my-dir) ifneq ($(findstring vendor,$(LOCAL_PATH)),) ifneq ($(findstring opensource,$(LOCAL_PATH)),) - AUDIO_BLD_DIR := $(ANDROID_BUILD_TOP)/vendor/qcom/opensource/audio-kernel + AUDIO_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/audio-kernel endif # opensource DLKM_DIR := $(TOP)/device/qcom/common/dlkm diff --git a/asoc/Kbuild b/asoc/Kbuild index 253ceefb84..d0cbef55ba 100644 --- a/asoc/Kbuild +++ b/asoc/Kbuild @@ -9,7 +9,7 @@ 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 := $(ANDROID_BUILD_TOP)/kernel/msm-4.14 + AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-4.14 AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio endif diff --git a/asoc/codecs/Android.mk b/asoc/codecs/Android.mk index a35a64bb7b..cbe1615b2b 100644 --- a/asoc/codecs/Android.mk +++ b/asoc/codecs/Android.mk @@ -29,7 +29,7 @@ LOCAL_PATH := $(call my-dir) ifneq ($(findstring vendor,$(LOCAL_PATH)),) ifneq ($(findstring opensource,$(LOCAL_PATH)),) - AUDIO_BLD_DIR := $(ANDROID_BUILD_TOP)/vendor/qcom/opensource/audio-kernel + AUDIO_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/audio-kernel endif # opensource DLKM_DIR := $(TOP)/device/qcom/common/dlkm diff --git a/asoc/codecs/Kbuild b/asoc/codecs/Kbuild index 45018ed670..ade1e477a0 100644 --- a/asoc/codecs/Kbuild +++ b/asoc/codecs/Kbuild @@ -9,7 +9,7 @@ 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 := $(ANDROID_BUILD_TOP)/kernel/msm-4.14 + AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-4.14 AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio endif diff --git a/asoc/codecs/aqt1000/Android.mk b/asoc/codecs/aqt1000/Android.mk index 7de1a63def..ac26f6d524 100644 --- a/asoc/codecs/aqt1000/Android.mk +++ b/asoc/codecs/aqt1000/Android.mk @@ -10,7 +10,7 @@ LOCAL_PATH := $(call my-dir) ifneq ($(findstring vendor,$(LOCAL_PATH)),) ifneq ($(findstring opensource,$(LOCAL_PATH)),) - AUDIO_BLD_DIR := $(ANDROID_BUILD_TOP)/vendor/qcom/opensource/audio-kernel + AUDIO_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/audio-kernel endif # opensource DLKM_DIR := $(TOP)/device/qcom/common/dlkm diff --git a/asoc/codecs/aqt1000/Kbuild b/asoc/codecs/aqt1000/Kbuild index 6523ce6d6b..60ac86649e 100644 --- a/asoc/codecs/aqt1000/Kbuild +++ b/asoc/codecs/aqt1000/Kbuild @@ -9,7 +9,7 @@ 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 := $(ANDROID_BUILD_TOP)/kernel/msm-4.14 + AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-4.14 AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio endif diff --git a/asoc/codecs/bolero/Kbuild b/asoc/codecs/bolero/Kbuild index dee3463a24..d6c2eea3ec 100644 --- a/asoc/codecs/bolero/Kbuild +++ b/asoc/codecs/bolero/Kbuild @@ -11,7 +11,7 @@ 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 := $(ANDROID_BUILD_TOP)/kernel/msm-4.14 + AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-4.14 AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio endif diff --git a/asoc/codecs/csra66x0/Kbuild b/asoc/codecs/csra66x0/Kbuild index c23811c23a..bb26a384ec 100644 --- a/asoc/codecs/csra66x0/Kbuild +++ b/asoc/codecs/csra66x0/Kbuild @@ -10,7 +10,7 @@ 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 := $(ANDROID_BUILD_TOP)/kernel/msm-4.14 + AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-4.14 AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio endif diff --git a/asoc/codecs/msm_sdw/Android.mk b/asoc/codecs/msm_sdw/Android.mk index 338e7f4502..7ec659200c 100644 --- a/asoc/codecs/msm_sdw/Android.mk +++ b/asoc/codecs/msm_sdw/Android.mk @@ -13,7 +13,7 @@ LOCAL_PATH := $(call my-dir) ifneq ($(findstring vendor,$(LOCAL_PATH)),) ifneq ($(findstring opensource,$(LOCAL_PATH)),) - AUDIO_BLD_DIR := $(ANDROID_BUILD_TOP)/vendor/qcom/opensource/audio-kernel + AUDIO_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/audio-kernel endif # opensource DLKM_DIR := $(TOP)/device/qcom/common/dlkm diff --git a/asoc/codecs/msm_sdw/Kbuild b/asoc/codecs/msm_sdw/Kbuild index f687cddf51..46639d29f0 100644 --- a/asoc/codecs/msm_sdw/Kbuild +++ b/asoc/codecs/msm_sdw/Kbuild @@ -10,7 +10,7 @@ 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 := $(ANDROID_BUILD_TOP)/kernel/msm-4.9 + AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-4.9 AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio endif diff --git a/asoc/codecs/sdm660_cdc/Android.mk b/asoc/codecs/sdm660_cdc/Android.mk index 43a5645fdf..41f3cc7bc8 100644 --- a/asoc/codecs/sdm660_cdc/Android.mk +++ b/asoc/codecs/sdm660_cdc/Android.mk @@ -12,7 +12,7 @@ LOCAL_PATH := $(call my-dir) ifneq ($(findstring vendor,$(LOCAL_PATH)),) ifneq ($(findstring opensource,$(LOCAL_PATH)),) - AUDIO_BLD_DIR := $(ANDROID_BUILD_TOP)/vendor/qcom/opensource/audio-kernel + AUDIO_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/audio-kernel endif # opensource DLKM_DIR := $(TOP)/device/qcom/common/dlkm diff --git a/asoc/codecs/sdm660_cdc/Kbuild b/asoc/codecs/sdm660_cdc/Kbuild index 6c379e1bfc..cbbc0c7844 100644 --- a/asoc/codecs/sdm660_cdc/Kbuild +++ b/asoc/codecs/sdm660_cdc/Kbuild @@ -10,7 +10,7 @@ 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 := $(ANDROID_BUILD_TOP)/kernel/msm-4.9 + AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-4.9 AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio endif diff --git a/asoc/codecs/wcd934x/Android.mk b/asoc/codecs/wcd934x/Android.mk index 6b5cca55e9..90a012dbab 100644 --- a/asoc/codecs/wcd934x/Android.mk +++ b/asoc/codecs/wcd934x/Android.mk @@ -29,7 +29,7 @@ LOCAL_PATH := $(call my-dir) ifneq ($(findstring vendor,$(LOCAL_PATH)),) ifneq ($(findstring opensource,$(LOCAL_PATH)),) - AUDIO_BLD_DIR := $(ANDROID_BUILD_TOP)/vendor/qcom/opensource/audio-kernel + AUDIO_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/audio-kernel endif # opensource DLKM_DIR := $(TOP)/device/qcom/common/dlkm diff --git a/asoc/codecs/wcd934x/Kbuild b/asoc/codecs/wcd934x/Kbuild index 5566ecbb26..26d9af61fa 100644 --- a/asoc/codecs/wcd934x/Kbuild +++ b/asoc/codecs/wcd934x/Kbuild @@ -11,7 +11,7 @@ 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 := $(ANDROID_BUILD_TOP)/kernel/msm-4.9 + AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-4.9 AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio endif diff --git a/asoc/codecs/wcd9360/Android.mk b/asoc/codecs/wcd9360/Android.mk index bee0364ecd..492061265f 100644 --- a/asoc/codecs/wcd9360/Android.mk +++ b/asoc/codecs/wcd9360/Android.mk @@ -17,7 +17,7 @@ LOCAL_PATH := $(call my-dir) ifneq ($(findstring vendor,$(LOCAL_PATH)),) ifneq ($(findstring opensource,$(LOCAL_PATH)),) - AUDIO_BLD_DIR := $(ANDROID_BUILD_TOP)/vendor/qcom/opensource/audio-kernel + AUDIO_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/audio-kernel endif # opensource DLKM_DIR := $(TOP)/device/qcom/common/dlkm diff --git a/asoc/codecs/wcd9360/Kbuild b/asoc/codecs/wcd9360/Kbuild index 6bba0c5255..5282b34424 100644 --- a/asoc/codecs/wcd9360/Kbuild +++ b/asoc/codecs/wcd9360/Kbuild @@ -11,7 +11,7 @@ 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 := $(ANDROID_BUILD_TOP)/kernel/msm-4.14 + AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-4.14 AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio endif diff --git a/dsp/Android.mk b/dsp/Android.mk index 48b068c732..23c0cc9669 100644 --- a/dsp/Android.mk +++ b/dsp/Android.mk @@ -29,7 +29,7 @@ LOCAL_PATH := $(call my-dir) ifneq ($(findstring vendor,$(LOCAL_PATH)),) ifneq ($(findstring opensource,$(LOCAL_PATH)),) - AUDIO_BLD_DIR := $(ANDROID_BUILD_TOP)/vendor/qcom/opensource/audio-kernel + AUDIO_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/audio-kernel endif # opensource DLKM_DIR := $(TOP)/device/qcom/common/dlkm diff --git a/dsp/Kbuild b/dsp/Kbuild index ba5f82cb71..7081ceb0d2 100644 --- a/dsp/Kbuild +++ b/dsp/Kbuild @@ -9,7 +9,7 @@ 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 := $(ANDROID_BUILD_TOP)/kernel/msm-4.14 + AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-4.14 AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio endif diff --git a/dsp/codecs/Android.mk b/dsp/codecs/Android.mk index 69af58eefd..0c969dbafc 100644 --- a/dsp/codecs/Android.mk +++ b/dsp/codecs/Android.mk @@ -29,7 +29,7 @@ LOCAL_PATH := $(call my-dir) ifneq ($(findstring vendor,$(LOCAL_PATH)),) ifneq ($(findstring opensource,$(LOCAL_PATH)),) - AUDIO_BLD_DIR := $(ANDROID_BUILD_TOP)/vendor/qcom/opensource/audio-kernel + AUDIO_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/audio-kernel endif # opensource DLKM_DIR := $(TOP)/device/qcom/common/dlkm diff --git a/dsp/codecs/Kbuild b/dsp/codecs/Kbuild index 7d7268b694..0f1f519f41 100644 --- a/dsp/codecs/Kbuild +++ b/dsp/codecs/Kbuild @@ -9,7 +9,7 @@ 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 := $(ANDROID_BUILD_TOP)/kernel/msm-4.14 + AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-4.14 AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio endif diff --git a/ipc/Android.mk b/ipc/Android.mk index fe9ce0f549..942a1866a0 100644 --- a/ipc/Android.mk +++ b/ipc/Android.mk @@ -29,7 +29,7 @@ LOCAL_PATH := $(call my-dir) ifneq ($(findstring vendor,$(LOCAL_PATH)),) ifneq ($(findstring opensource,$(LOCAL_PATH)),) - AUDIO_BLD_DIR := $(ANDROID_BUILD_TOP)/vendor/qcom/opensource/audio-kernel + AUDIO_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/audio-kernel endif # opensource DLKM_DIR := $(TOP)/device/qcom/common/dlkm diff --git a/soc/Android.mk b/soc/Android.mk index 67e6576c42..3b43dc19cd 100644 --- a/soc/Android.mk +++ b/soc/Android.mk @@ -29,7 +29,7 @@ LOCAL_PATH := $(call my-dir) ifneq ($(findstring vendor,$(LOCAL_PATH)),) ifneq ($(findstring opensource,$(LOCAL_PATH)),) - AUDIO_BLD_DIR := $(ANDROID_BUILD_TOP)/vendor/qcom/opensource/audio-kernel + AUDIO_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/audio-kernel endif # opensource DLKM_DIR := $(TOP)/device/qcom/common/dlkm diff --git a/soc/Kbuild b/soc/Kbuild index cb067bbb54..933bf20cf0 100644 --- a/soc/Kbuild +++ b/soc/Kbuild @@ -9,7 +9,7 @@ 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 := $(ANDROID_BUILD_TOP)/kernel/msm-4.14 + AUDIO_BLD_DIR := $(shell pwd)/kernel/msm-4.14 AUDIO_ROOT := $(AUDIO_BLD_DIR)/techpack/audio endif