Home | History | Annotate | Download | only in gps
      1 # TODO:  Find a better way to separate build configs for ADP vs non-ADP devices
      2 ifneq ($(BOARD_IS_AUTOMOTIVE),true)
      3   ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
      4     LOCAL_PATH := $(call my-dir)
      5     ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true)
      6 
      7       ifneq ($(filter apq8064,$(TARGET_BOARD_PLATFORM)),)
      8         #For apq8064 use msm8960
      9         include $(call all-named-subdir-makefiles,msm8960)
     10       else ifneq ($(filter msm8992,$(TARGET_BOARD_PLATFORM)),)
     11         #For msm8992 use msm8994
     12         include $(call all-named-subdir-makefiles,msm8994)
     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))
     16       else ifeq ($(filter msm8916,$(TARGET_BOARD_PLATFORM)),)
     17         #For all other targets besides msm8916
     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
     21 
     22     else
     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)),)
     26         #For msm8909 target
     27         GPS_DIRS=msm8909/core msm8909/utils msm8909/loc_api msm8909/etc
     28         include $(call all-named-subdir-makefiles,$(GPS_DIRS))
     29       else ifeq ($(filter msm8916 ,$(TARGET_BOARD_PLATFORM)),)
     30         GPS_DIRS=core utils loc_api platform_lib_abstractions etc
     31         include $(call all-named-subdir-makefiles,$(GPS_DIRS))
     32       endif
     33     endif #BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET
     34 
     35   endif #BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE
     36 endif
     37