diff options
author | Chris Fries <cfries@google.com> | 2017-06-26 21:51:08 -0500 |
---|---|---|
committer | Chris Fries <cfries@google.com> | 2017-06-27 22:56:02 -0500 |
commit | 7d0ed03c1cedd342bd5ca76f5c785f38b2328dbc (patch) | |
tree | a11a26a4a11b5627d7baa43bba4c109d71a6f622 /Android.mk | |
parent | 0077a95ef8403fe777565d3fc298f219b02c0244 (diff) | |
download | bt-7d0ed03c1cedd342bd5ca76f5c785f38b2328dbc.tar.gz |
Android.mk: Add sdm845 (and cleanup)
The nested ifs are a bit ugly, so lets rely on the target platform
to set the path.
Bug: 62287998
Change-Id: I539988c514775b3a3660ac2cabd9c709e40a8ec3
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 24 |
1 files changed, 6 insertions, 18 deletions
@@ -1,23 +1,11 @@ +LOCAL_PATH := $(call my-dir) # TODO: Find a better way to separate build configs for ADP vs non-ADP devices ifneq ($(BOARD_IS_AUTOMOTIVE),true) - ifneq ($(filter msm8960 msm8x27 msm8226,$(TARGET_BOARD_PLATFORM)),) + ifneq ($(filter msm8x27 msm8226,$(TARGET_BOARD_PLATFORM)),) include $(call all-named-subdir-makefiles,msm8960) - else - ifneq ($(filter msm8994 msm8992,$(TARGET_BOARD_PLATFORM)),) - include $(call all-named-subdir-makefiles,msm8992) - else - ifneq ($(filter msm8996,$(TARGET_BOARD_PLATFORM)),) - include $(call all-named-subdir-makefiles,msm8996) - else - ifneq ($(filter msm8909 ,$(TARGET_BOARD_PLATFORM)),) - #For msm8909 target - include $(call all-named-subdir-makefiles,msm8909) - else - ifneq ($(filter msm8998,$(TARGET_BOARD_PLATFORM)),) - include $(call all-named-subdir-makefiles,msm8998) - endif - endif - endif - endif + else ifneq ($(filter msm8994,$(TARGET_BOARD_PLATFORM)),) + include $(call all-named-subdir-makefiles,msm8992) + else ifneq ($(wildcard $(LOCAL_PATH)/$(TARGET_BOARD_PLATFORM)),) + include $(call all-named-subdir-makefiles,$(TARGET_BOARD_PLATFORM)) endif endif |