summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2017-01-03 07:02:44 +0800
committerZhao Wei Liew <zhaoweiliew@gmail.com>2017-01-08 02:05:09 +0000
commitf4d20d15ffb0345b90682e2e821db3146a8b0fb7 (patch)
tree8f1b1e17b29240b4e50897a62135bb927f929502
parentbafbd7acc3c3ec1cf594223dbf09c73b2c88d6bf (diff)
downloadbuild-f4d20d15ffb0345b90682e2e821db3146a8b0fb7.zip
build-f4d20d15ffb0345b90682e2e821db3146a8b0fb7.tar.gz
build-f4d20d15ffb0345b90682e2e821db3146a8b0fb7.tar.bz2
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
-rw-r--r--core/qcom_target.mk5
1 files changed, 5 insertions, 0 deletions
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