diff options
author | Bruno Martins <bgcngm@gmail.com> | 2019-09-19 15:35:25 +0200 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2019-09-19 17:25:39 +0100 |
commit | 9cfbef4d4fd18ce801a58fbc7cc84919a7e7213e (patch) | |
tree | 9215682903b05b3989300e4be50306db82d662c7 | |
parent | 4ef1e742c338b7c956ebc84d7da564280bf84548 (diff) | |
download | external_wget-9cfbef4d4fd18ce801a58fbc7cc84919a7e7213e.tar.gz external_wget-9cfbef4d4fd18ce801a58fbc7cc84919a7e7213e.tar.bz2 external_wget-9cfbef4d4fd18ce801a58fbc7cc84919a7e7213e.zip |
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
-rw-r--r-- | config/BoardConfigQcom.mk | 4 |
1 files 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 |