diff --git a/build/core/qcom_target.mk b/build/core/qcom_target.mk index 920e3332..e36958a9 100644 --- a/build/core/qcom_target.mk +++ b/build/core/qcom_target.mk @@ -59,13 +59,13 @@ ifeq ($(BOARD_USES_QCOM_HARDWARE),true) qcom_flags += -DHAS_EXTRA_FLAC_METADATA endif - # Enable color metadata for 8xx UM targets - ifneq ($(filter msm8996 msm8998,$(TARGET_BOARD_PLATFORM)),) + # Enable color metadata for modern UM targets + ifneq ($(filter msm8996 msm8998 sdm660,$(TARGET_BOARD_PLATFORM)),) TARGET_USES_COLOR_METADATA := true endif # List of targets that use master side content protection - MASTER_SIDE_CP_TARGET_LIST := msm8996 msm8998 + MASTER_SIDE_CP_TARGET_LIST := msm8996 msm8998 sdm660 TARGET_GLOBAL_CFLAGS += $(qcom_flags) TARGET_GLOBAL_CPPFLAGS += $(qcom_flags) diff --git a/build/core/qcom_utils.mk b/build/core/qcom_utils.mk index b6d8f43c..6da6f614 100755 --- a/build/core/qcom_utils.mk +++ b/build/core/qcom_utils.mk @@ -31,6 +31,8 @@ QCOM_BOARD_PLATFORMS += msm8953 QCOM_BOARD_PLATFORMS += msm8996 QCOM_BOARD_PLATFORMS += msm8998 +QCOM_BOARD_PLATFORMS += sdm660 + MSM7K_BOARD_PLATFORMS := msm7x30 MSM7K_BOARD_PLATFORMS += msm7x27 MSM7K_BOARD_PLATFORMS += msm7x27a