Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 1 | # TODO: Find a better way to separate build configs for ADP vs non-ADP devices |
| 2 | ifneq ($(TARGET_BOARD_AUTO),true) |
| 3 | ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) |
| 4 | LOCAL_PATH := $(call my-dir) |
Ying Wang | 9ca398a | 2013-08-26 15:01:28 -0700 | [diff] [blame] | 5 | |
Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 6 | ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true) |
Dante Russo | bfff634 | 2015-05-01 18:29:28 -0700 | [diff] [blame] | 7 | |
Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 8 | ifneq ($(filter msm8960 apq8064 ,$(TARGET_BOARD_PLATFORM)),) |
| 9 | #For msm8960/apq8064 targets |
| 10 | include $(call all-named-subdir-makefiles,msm8960) |
| 11 | else ifneq ($(filter msm8974 ,$(TARGET_BOARD_PLATFORM)),) |
| 12 | #For msm8974 target |
| 13 | include $(call all-named-subdir-makefiles,msm8974) |
| 14 | else ifneq ($(filter msm8084 ,$(TARGET_BOARD_PLATFORM)),) |
| 15 | #For msm8084 target |
| 16 | include $(call all-named-subdir-makefiles,msm8084) |
| 17 | else ifeq ($(filter msm8916,$(TARGET_BOARD_PLATFORM)),) |
| 18 | #For all other targets |
| 19 | GPS_DIRS=core utils loc_api platform_lib_abstractions etc |
| 20 | include $(call all-named-subdir-makefiles,$(GPS_DIRS)) |
| 21 | endif #TARGET_BOARD_PLATFORM |
Dante Russo | bfff634 | 2015-05-01 18:29:28 -0700 | [diff] [blame] | 22 | |
Ying Wang | cffbb9e | 2016-01-12 20:32:17 -0800 | [diff] [blame^] | 23 | else |
| 24 | ifneq ($(filter msm8909 ,$(TARGET_BOARD_PLATFORM)),) |
| 25 | #For msm8909 target |
| 26 | include $(call all-named-subdir-makefiles,msm8909) |
| 27 | else ifeq ($(filter msm8916 ,$(TARGET_BOARD_PLATFORM)),) |
| 28 | GPS_DIRS=core utils loc_api platform_lib_abstractions etc |
| 29 | include $(call all-named-subdir-makefiles,$(GPS_DIRS)) |
| 30 | endif |
Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 31 | endif #BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET |
Dante Russo | bfff634 | 2015-05-01 18:29:28 -0700 | [diff] [blame] | 32 | |
Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 33 | endif #BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE |
| 34 | endif |