LOCAL_PATH := $(call my-dir)
# TODO: Find a better way to separate build configs for ADP vs non-ADP devices
ifneq ($(TARGET_BOARD_AUTO),true)
ifneq ($(filter msm8x84,$(TARGET_BOARD_PLATFORM)),)
include $(call all-named-subdir-makefiles,msm8084)
else ifneq ($(filter msm8x26,$(TARGET_BOARD_PLATFORM)),)
include $(call all-named-subdir-makefiles,msm8226)
else ifneq ($(filter msm8992,$(TARGET_BOARD_PLATFORM)),)
include $(call all-named-subdir-makefiles,msm8994)
else ifneq ($(filter msm8909,$(TARGET_BOARD_PLATFORM)),)
ifeq ($(TARGET_SUPPORTS_QCOM_3100),true)
include $(call all-named-subdir-makefiles,msm8909w_3100)
else
include $(call all-named-subdir-makefiles,msm8909)
endif
else ifneq ($(wildcard $(LOCAL_PATH)/$(TARGET_BOARD_PLATFORM)),)
include $(call all-named-subdir-makefiles,$(TARGET_BOARD_PLATFORM))
endif
endif