From f4d20d15ffb0345b90682e2e821db3146a8b0fb7 Mon Sep 17 00:00:00 2001 From: Zhao Wei Liew Date: Tue, 3 Jan 2017 07:02:44 +0800 Subject: build: qcom_target: Define MSM_VIDC_TARGET_LIST Currently, in the media HAL, we're replacing the usage of this variable with a check for TARGET_BOARD_PLATFORM. Instead of having to do that every time a new branch is made, define the variable in qcom_target. Change-Id: Idd85b6f0b167bbc64833eb03335abcaa7b9de4a9 --- core/qcom_target.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/qcom_target.mk b/core/qcom_target.mk index d5631ab..a8ff03a 100644 --- a/core/qcom_target.mk +++ b/core/qcom_target.mk @@ -60,17 +60,22 @@ ifeq ($(BOARD_USES_QCOM_HARDWARE),true) 2ND_CLANG_TARGET_GLOBAL_CPPFLAGS += $(qcom_flags) ifeq ($(call is-board-platform-in-list, $(B_FAMILY)),true) + MSM_VIDC_TARGET_LIST := $(B_FAMILY) QCOM_HARDWARE_VARIANT := msm8974 else ifeq ($(call is-board-platform-in-list, $(B64_FAMILY)),true) + MSM_VIDC_TARGET_LIST := $(B64_FAMILY) QCOM_HARDWARE_VARIANT := msm8994 else ifeq ($(call is-board-platform-in-list, $(BR_FAMILY)),true) + MSM_VIDC_TARGET_LIST := $(BR_FAMILY) QCOM_HARDWARE_VARIANT := msm8916 else ifeq ($(call is-board-platform-in-list, $(UM_FAMILY)),true) + MSM_VIDC_TARGET_LIST := $(UM_FAMILY) QCOM_HARDWARE_VARIANT := msm8937 else + MSM_VIDC_TARGET_LIST := $(TARGET_BOARD_PLATFORM) QCOM_HARDWARE_VARIANT := $(TARGET_BOARD_PLATFORM) endif endif -- cgit v1.1