gps: add GPS HAL for SD3100 devices based on LW.BR.3.0.1-06600-8x09w.0.
This also change the top Makefile logic to pull in the correct sub-directory
for msm8909 boards. This new HAL is only guaranteed to work for 3100 devices.
Change-Id: I3882a79face7d1120e312f31be5ac0879f43eae3
diff --git a/Android.mk b/Android.mk
index 1ea0bfc..2c74106 100644
--- a/Android.mk
+++ b/Android.mk
@@ -23,9 +23,14 @@
ifneq ($(filter sdm845,$(TARGET_BOARD_PLATFORM)),)
include $(call all-named-subdir-makefiles,$(TARGET_BOARD_PLATFORM))
else ifneq ($(filter msm8909 msm8226 ,$(TARGET_BOARD_PLATFORM)),)
- #For msm8909 target
- GPS_DIRS=msm8909/core msm8909/utils msm8909/loc_api msm8909/etc
- include $(call all-named-subdir-makefiles,$(GPS_DIRS))
+ ifeq ($(TARGET_SUPPORTS_QCOM_3100),true)
+ # For SD3100.
+ include $(call all-named-subdir-makefiles,msm8909w_3100)
+ else
+ #For msm8909 target
+ GPS_DIRS=msm8909/core msm8909/utils msm8909/loc_api msm8909/etc
+ include $(call all-named-subdir-makefiles,$(GPS_DIRS))
+ endif
else ifeq ($(filter msm8916 ,$(TARGET_BOARD_PLATFORM)),)
GPS_DIRS=core utils loc_api platform_lib_abstractions etc
include $(call all-named-subdir-makefiles,$(GPS_DIRS))