summaryrefslogtreecommitdiffstats
path: root/core/qcom_target.mk
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-04-21 11:50:36 -0700
committerAdnan Begovic <adnan@cyngn.com>2015-10-09 17:07:06 -0700
commit1d86c80ff810a8d0e457deac431d47314292eade (patch)
treee65a584150852edc90bc0d16c18a3b33a1c286fb /core/qcom_target.mk
parent6f9f4a766245f0999578e4f62933f7fe6b6c29fd (diff)
downloadbuild-1d86c80ff810a8d0e457deac431d47314292eade.zip
build-1d86c80ff810a8d0e457deac431d47314292eade.tar.gz
build-1d86c80ff810a8d0e457deac431d47314292eade.tar.bz2
build: Add a couple more custom pathmap variables
Change-Id: Ie44b9844c6d82dd73d1ea1f16b565f8bb06652c1
Diffstat (limited to 'core/qcom_target.mk')
-rw-r--r--core/qcom_target.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/qcom_target.mk b/core/qcom_target.mk
index 23e086e..6922b46 100644
--- a/core/qcom_target.mk
+++ b/core/qcom_target.mk
@@ -7,6 +7,12 @@ endef
define ril-set-path-variant
$(call project-set-path-variant,ril,TARGET_RIL_VARIANT,hardware/$(1))
endef
+define gps-hal-set-path-variant
+$(call project-set-path-variant,gps-hal,TARGET_GPS_HAL_PATH,$(1))
+endef
+define loc-api-set-path-variant
+$(call project-set-path-variant,loc-api,TARGET_LOC_API_PATH,$(1))
+endef
ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
@@ -63,6 +69,8 @@ $(call qcom-set-path-variant,GPS,gps)
$(call project-set-path,qcom-media,hardware/qcom/media-caf/$(QCOM_HARDWARE_VARIANT))
$(call qcom-set-path-variant,SENSORS,sensors)
$(call ril-set-path-variant,ril)
+$(call loc-api-set-path-variant,vendor/qcom/opensource/location)
+$(call gps-hal-set-path-variant,hardware/qcom/gps)
else
$(call project-set-path,qcom-audio,hardware/qcom/audio/default)
$(call qcom-set-path-variant,CAMERA,camera)
@@ -71,4 +79,6 @@ $(call qcom-set-path-variant,GPS,gps)
$(call project-set-path,qcom-media,hardware/qcom/media/default)
$(call qcom-set-path-variant,SENSORS,sensors)
$(call ril-set-path-variant,ril)
+$(call loc-api-set-path-variant,vendor/qcom/opensource/location)
+$(call gps-hal-set-path-variant,hardware/qcom/gps)
endif