Skip to content

Commit 78fc57c

Browse files
invisiblekSTELIX
authored andcommitted
qcom_utils: allow overriding get-vendor-board-platforms
* Some devices need this function to return something, yet also do not set BOARD_USES_QCOM_HARDWARE. Allow them to override this. Change-Id: I3cf78da39b006ba805ae35fde7379357faa10250
1 parent d9450fa commit 78fc57c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/core/qcom_utils.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,13 @@ endef
118118
# The following utilities are meant for board platform specific
119119
# featurisation
120120

121+
ifndef get-vendor-board-platforms
121122
# $(call get-vendor-board-platforms,v)
122123
# returns list of board platforms for vendor v
123124
define get-vendor-board-platforms
124125
$(if $(call match-word,$(BOARD_USES_$(1)_HARDWARE),true),$($(1)_BOARD_PLATFORMS))
125126
endef
127+
endif # get-vendor-board-platforms
126128

127129
# $(call is-board-platform,bp)
128130
# returns true or empty

0 commit comments

Comments
 (0)