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 ($(TARGET_BOARD_AUTO),true)
      3   ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
      4   LOCAL_PATH := $(call my-dir)
      5 
      6     ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true)
      7 
      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 msm8084 ,$(TARGET_BOARD_PLATFORM)),)
     12         #For msm8084 target
     13         include $(call all-named-subdir-makefiles,msm8084)
     14       else ifneq ($(filter msm8992 msm8994 ,$(TARGET_BOARD_PLATFORM)),)
     15         #For msm8992/msm8994 targets
     16         include $(call all-named-subdir-makefiles,msm8994)
     17       else ifneq ($(filter msm8996 ,$(TARGET_BOARD_PLATFORM)),)
     18         #For msm8996 target
     19         include $(call all-named-subdir-makefiles,msm8996)
     20       else ifeq ($(filter msm8916,$(TARGET_BOARD_PLATFORM)),)
     21         #For all other targets
     22         GPS_DIRS=core utils loc_api platform_lib_abstractions etc
     23         include $(call all-named-subdir-makefiles,$(GPS_DIRS))
     24       endif #TARGET_BOARD_PLATFORM
     25 
     26     else
     27       ifneq ($(filter msm8909 ,$(TARGET_BOARD_PLATFORM)),)
     28         #For msm8909 target
     29         GPS_DIRS=msm8909/core msm8909/utils msm8909/loc_api msm8909/etc
     30         include $(call all-named-subdir-makefiles,$(GPS_DIRS))
     31       else ifeq ($(filter msm8916 ,$(TARGET_BOARD_PLATFORM)),)
     32         GPS_DIRS=core utils loc_api platform_lib_abstractions etc
     33         include $(call all-named-subdir-makefiles,$(GPS_DIRS))
     34       endif
     35     endif #BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET
     36 
     37   endif #BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE
     38 endif
     39