From d47d062016f670bafde02ef4c16acba65744151f Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Thu, 19 Sep 2019 15:35:25 +0200 Subject: [PATCH] BoardConfigQcom: Fix setting UM4.9 and UM4.14 specific flags Calling is-board-platform-in-list from this makefile was not returning the desirable output, thus resulting in a failure to meet the conditions for the UM4.9 and UM4.14 family platforms. Due to the fact that this makefile is included in a very early stage in the build process, the QCOM macros are not defined. Simply use standard macros like in rest of the makefile. Change-Id: Iad889882f94167f1bc1761ddd549dac9dcdee3ba --- config/BoardConfigQcom.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/BoardConfigQcom.mk b/config/BoardConfigQcom.mk index 5f00e9f9..e175a3fb 100644 --- a/config/BoardConfigQcom.mk +++ b/config/BoardConfigQcom.mk @@ -42,7 +42,7 @@ ifneq ($(filter $(UM_PLATFORMS),$(TARGET_BOARD_PLATFORM)),) endif # Enable DRM PP driver on UM platforms that support it -ifeq ($(call is-board-platform-in-list, $(UM_4_9_FAMILY) $(UM_4_14_FAMILY)),true) +ifneq ($(filter $(UM_4_9_FAMILY) $(UM_4_14_FAMILY),$(TARGET_BOARD_PLATFORM)),) TARGET_USES_DRM_PP := true endif @@ -51,7 +51,7 @@ TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS ?= 0 TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS += | (1 << 21) # Mark GRALLOC_USAGE_PRIVATE_10BIT_TP as valid gralloc bits on UM platforms that support it -ifeq ($(call is-board-platform-in-list, $(UM_4_9_FAMILY) $(UM_4_14_FAMILY)),true) +ifneq ($(filter $(UM_4_9_FAMILY) $(UM_4_14_FAMILY),$(TARGET_BOARD_PLATFORM)),) TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS += | (1 << 27) endif