BOARD_{GROUP}_SIZE must not be empty.
Otherwise, OTA generation will fail. Test: OTA generation Test: do not define it, build error Change-Id: I63da80bd35d1982db0510428560727c759212771
This commit is contained in:
parent
16a07e1806
commit
a50b5e34a4
1 changed files with 2 additions and 2 deletions
|
@ -991,11 +991,11 @@ ifeq ($(PRODUCT_BUILD_SUPER_PARTITION),true)
|
|||
# For each group in BOARD_SUPER_PARTITION_GROUPS, a BOARD_{GROUP}_SIZE and
|
||||
# BOARD_{GROUP}_PARTITION_PARTITION_LIST may be defined.
|
||||
# - BOARD_{GROUP}_SIZE: The maximum sum of sizes of all partitions in the group.
|
||||
# If empty, no limit is enforced on the sum of sizes for this group.
|
||||
# Must not be empty.
|
||||
# - BOARD_{GROUP}_PARTITION_PARTITION_LIST: the list of partitions that belongs to this group.
|
||||
# If empty, no partitions belong to this group, and the sum of sizes is effectively 0.
|
||||
$(foreach group,$(call to-upper,$(BOARD_SUPER_PARTITION_GROUPS)), \
|
||||
$(eval BOARD_$(group)_SIZE ?=) \
|
||||
$(if $(BOARD_$(group)_SIZE),,$(error BOARD_$(group)_SIZE must not be empty)) \
|
||||
$(eval .KATI_READONLY := BOARD_$(group)_SIZE) \
|
||||
$(eval BOARD_$(group)_PARTITION_LIST ?=) \
|
||||
$(eval .KATI_READONLY := BOARD_$(group)_PARTITION_LIST) \
|
||||
|
|
Loading…
Reference in a new issue