summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2014-06-27 13:14:27 -0700
committerVineeta Srivastava <vsrivastava@google.com>2014-07-08 16:46:09 -0700
commit4fe12bb6925e1372f441ec5a79c7c8f316ff06bd (patch)
tree2d9b5cf5326d5a53a7e63506df665facfb592861 /Android.mk
parentc02d4b1aa09b58e31ce2d0ac4135dfcc5968e322 (diff)
downloadgps-4fe12bb6925e1372f441ec5a79c7c8f316ff06bd.tar.gz
Split GPS HAL for older targets
Targets based on the msm8960 build will use the code under the msm8960 folder. This split is because there is no QMI support for 8960 based targets. The code under msm8960 will not be updated for PDK. Newer targets will continue to use the current path for GPS HAL Change-Id: I79e43af33759ef64626b53e9eb749f8b637254df
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index e2c5a56..6b2d419 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,5 +1,12 @@
ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
LOCAL_PATH := $(call my-dir)
-include $(call all-makefiles-under,$(LOCAL_PATH))
-endif
+ifneq ($(filter msm8960 apq8064 ,$(TARGET_BOARD_PLATFORM)),)
+ #For msm8960/apq8064 targets
+ include $(call all-named-subdir-makefiles,msm8960)
+else
+ #For all other targets
+ GPS_DIRS=core utils loc_api platform_lib_abstractions etc
+ include $(call all-named-subdir-makefiles,$(GPS_DIRS))
+endif #TARGET_BOARD_PLATFORM
+endif #BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE