1LOCAL_PATH := $(call my-dir)
2# TODO:  Find a better way to separate build configs for ADP vs non-ADP devices
3ifneq ($(BOARD_IS_AUTOMOTIVE),true)
4  ifneq ($(filter msm8x27 msm8226,$(TARGET_BOARD_PLATFORM)),)
5    include $(call all-named-subdir-makefiles,msm8960)
6  else ifneq ($(filter msm8994,$(TARGET_BOARD_PLATFORM)),)
7    include $(call all-named-subdir-makefiles,msm8992)
8  else ifneq ($(wildcard $(LOCAL_PATH)/$(TARGET_BOARD_PLATFORM)),)
9    include $(call all-named-subdir-makefiles,$(TARGET_BOARD_PLATFORM))
10  endif
11endif
12