summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Pasanen <invisiblek@cyanogenmod.org>2017-10-12 01:11:29 -0700
committerEthan Chen <intervigil@gmail.com>2017-12-09 23:29:03 +0000
commit012cc275e09346ef7909b6a5a144aed59b375ccd (patch)
tree0589d2f9ced396ccbed9d0a0711fbb3cb0e7aba5
parente77b6a2f8ccd83be7c25be404c888615cf0366bc (diff)
downloadexternal_wget-lineage-15.0.tar.gz
external_wget-lineage-15.0.tar.bz2
external_wget-lineage-15.0.zip
qcom_utils: allow overriding get-vendor-board-platformslineage-15.0
* 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
-rwxr-xr-xbuild/core/qcom_utils.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/core/qcom_utils.mk b/build/core/qcom_utils.mk
index 6da6f614..ae586eb2 100755
--- a/build/core/qcom_utils.mk
+++ b/build/core/qcom_utils.mk
@@ -118,11 +118,13 @@ endef
# The following utilities are meant for board platform specific
# featurisation
+ifndef get-vendor-board-platforms
# $(call get-vendor-board-platforms,v)
# returns list of board platforms for vendor v
define get-vendor-board-platforms
$(if $(call match-word,$(BOARD_USES_$(1)_HARDWARE),true),$($(1)_BOARD_PLATFORMS))
endef
+endif # get-vendor-board-platforms
# $(call is-board-platform,bp)
# returns true or empty