blob: fc79df15f51c59000cf862fa3b659d95f3f7f661 [file] [log] [blame]
Steve Paik02685cb2015-07-15 16:51:13 -07001# TODO: Find a better way to separate build configs for ADP vs non-ADP devices
2ifneq ($(TARGET_BOARD_AUTO),true)
3 ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
4 LOCAL_PATH := $(call my-dir)
Ying Wang9ca398a2013-08-26 15:01:28 -07005
Steve Paik02685cb2015-07-15 16:51:13 -07006 ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true)
Dante Russobfff6342015-05-01 18:29:28 -07007
Steve Paik02685cb2015-07-15 16:51:13 -07008 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 Russobfff6342015-05-01 18:29:28 -070022
Ying Wangcffbb9e2016-01-12 20:32:17 -080023 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 Paik02685cb2015-07-15 16:51:13 -070031 endif #BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET
Dante Russobfff6342015-05-01 18:29:28 -070032
Steve Paik02685cb2015-07-15 16:51:13 -070033 endif #BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE
34endif