Steve Paik | fe54f03 | 2017-04-28 15:46:11 -0700 | [diff] [blame] | 1 | # TODO: Find a better way to separate build configs for ADP vs non-ADP devices |
| 2 | ifneq ($(BOARD_IS_AUTOMOTIVE),true) |
Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 3 | ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) |
Chris Fries | 730d5a3 | 2017-06-30 01:40:10 -0500 | [diff] [blame] | 4 | LOCAL_PATH := $(call my-dir) |
Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 5 | ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true) |
Dante Russo | bfff634 | 2015-05-01 18:29:28 -0700 | [diff] [blame] | 6 | |
Chris Fries | 730d5a3 | 2017-06-30 01:40:10 -0500 | [diff] [blame] | 7 | ifneq ($(filter apq8064,$(TARGET_BOARD_PLATFORM)),) |
| 8 | #For apq8064 use msm8960 |
Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 9 | include $(call all-named-subdir-makefiles,msm8960) |
Chris Fries | 730d5a3 | 2017-06-30 01:40:10 -0500 | [diff] [blame] | 10 | else ifneq ($(filter msm8992,$(TARGET_BOARD_PLATFORM)),) |
| 11 | #For msm8992 use msm8994 |
Ed Tam | 8c2d3d5 | 2016-03-03 10:10:34 -0800 | [diff] [blame] | 12 | include $(call all-named-subdir-makefiles,msm8994) |
Chris Fries | 730d5a3 | 2017-06-30 01:40:10 -0500 | [diff] [blame] | 13 | else ifneq ($(filter msm8960 msm8084 msm8994 msm8996 msm8998 sdm845,$(TARGET_BOARD_PLATFORM)),) |
| 14 | #For these, use their platform name as the subdirectory |
| 15 | include $(call all-named-subdir-makefiles,$(TARGET_BOARD_PLATFORM)) |
Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 16 | else ifeq ($(filter msm8916,$(TARGET_BOARD_PLATFORM)),) |
Chris Fries | 730d5a3 | 2017-06-30 01:40:10 -0500 | [diff] [blame] | 17 | #For all other targets besides msm8916 |
Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 18 | GPS_DIRS=core utils loc_api platform_lib_abstractions etc |
| 19 | include $(call all-named-subdir-makefiles,$(GPS_DIRS)) |
| 20 | endif #TARGET_BOARD_PLATFORM |
Dante Russo | bfff634 | 2015-05-01 18:29:28 -0700 | [diff] [blame] | 21 | |
Ying Wang | cffbb9e | 2016-01-12 20:32:17 -0800 | [diff] [blame] | 22 | else |
Chris Fries | 730d5a3 | 2017-06-30 01:40:10 -0500 | [diff] [blame] | 23 | ifneq ($(filter sdm845,$(TARGET_BOARD_PLATFORM)),) |
| 24 | include $(call all-named-subdir-makefiles,$(TARGET_BOARD_PLATFORM)) |
| 25 | else ifneq ($(filter msm8909 msm8226 ,$(TARGET_BOARD_PLATFORM)),) |
Alain Vongsouvanh | eee4b75 | 2017-12-05 09:37:41 -0800 | [diff] [blame] | 26 | ifeq ($(TARGET_SUPPORTS_QCOM_3100),true) |
| 27 | # For SD3100. |
| 28 | include $(call all-named-subdir-makefiles,msm8909w_3100) |
| 29 | else |
| 30 | #For msm8909 target |
| 31 | GPS_DIRS=msm8909/core msm8909/utils msm8909/loc_api msm8909/etc |
| 32 | include $(call all-named-subdir-makefiles,$(GPS_DIRS)) |
| 33 | endif |
Ying Wang | cffbb9e | 2016-01-12 20:32:17 -0800 | [diff] [blame] | 34 | else ifeq ($(filter msm8916 ,$(TARGET_BOARD_PLATFORM)),) |
| 35 | GPS_DIRS=core utils loc_api platform_lib_abstractions etc |
| 36 | include $(call all-named-subdir-makefiles,$(GPS_DIRS)) |
| 37 | endif |
Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 38 | endif #BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET |
Dante Russo | bfff634 | 2015-05-01 18:29:28 -0700 | [diff] [blame] | 39 | |
Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 40 | endif #BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE |
Vivekbalachandar M | 2a801cd | 2020-02-28 17:59:34 +0530 | [diff] [blame] | 41 | #Introducing the msm8974 |
| 42 | ifeq ($(TARGET_BOARD_PLATFORM),msm8974) |
| 43 | include $(call all-named-subdir-makefiles,msm8974) |
| 44 | endif |
Steve Paik | 02685cb | 2015-07-15 16:51:13 -0700 | [diff] [blame] | 45 | endif |