Mark many single value variables as such
This changes these variables to not inherit multiple values, which allow for some more flexibility in how/where they're defined in makefiles. Also remove the previous equivalent solution that was in place for the PRODUCT_BUILD_* flags. Bug: 116769560 Test: presubmit Change-Id: Ia27a11d95263ceb45ffa355e75bb2aa6d9672139
This commit is contained in:
@@ -390,7 +390,6 @@ $(foreach var, \
|
||||
|
||||
# Macro to use below. $(1) is the name of the partition
|
||||
define product-build-image-config
|
||||
PRODUCT_BUILD_$(1)_IMAGE := $$(firstword $$(PRODUCT_BUILD_$(1)_IMAGE))
|
||||
ifneq ($$(filter-out true false,$$(PRODUCT_BUILD_$(1)_IMAGE)),)
|
||||
$$(error Invalid PRODUCT_BUILD_$(1)_IMAGE: $$(PRODUCT_BUILD_$(1)_IMAGE) -- true false and empty are supported)
|
||||
endif
|
||||
|
Reference in New Issue
Block a user