Merge "BOARD_SUPER_PARTITION_PARTITION_LIST check moved to config.mk"
am: df899f64d0
Change-Id: Icdf456afba7d366373311b292b1675c3cce6bf4c
This commit is contained in:
commit
2843e2e16f
2 changed files with 10 additions and 8 deletions
|
@ -2572,14 +2572,6 @@ droid_targets: check_android_partition_sizes
|
|||
|
||||
.PHONY: check_android_partition_sizes
|
||||
|
||||
# BOARD_SUPER_PARTITION_PARTITION_LIST: a list of the following tokens
|
||||
valid_super_partition_list := system vendor product productservices
|
||||
ifneq (,$(filter-out $(valid_super_partition_list),$(BOARD_SUPER_PARTITION_PARTITION_LIST)))
|
||||
$(error BOARD_SUPER_PARTITION_PARTITION_LIST contains invalid partition name. \
|
||||
Valid names are $(valid_super_partition_list).)
|
||||
endif
|
||||
valid_super_partition_list :=
|
||||
|
||||
# Add image dependencies so that generated_*_image_info.txt are written before checking.
|
||||
ifneq (,$(filter system,$(BOARD_SUPER_PARTITION_PARTITION_LIST)))
|
||||
check_android_partition_sizes: $(BUILT_SYSTEMIMAGE)
|
||||
|
|
|
@ -969,6 +969,16 @@ $(error Should not define BOARD_PRODUCT_SERVICESIMAGE_PARTITION_SIZE and \
|
|||
endif
|
||||
endif
|
||||
|
||||
ifdef BOARD_SUPER_PARTITION_PARTITION_LIST
|
||||
# BOARD_SUPER_PARTITION_PARTITION_LIST: a list of the following tokens
|
||||
valid_super_partition_list := system vendor product productservices
|
||||
ifneq (,$(filter-out $(valid_super_partition_list),$(BOARD_SUPER_PARTITION_PARTITION_LIST)))
|
||||
$(error BOARD_SUPER_PARTITION_PARTITION_LIST contains invalid partition name. \
|
||||
Valid names are $(valid_super_partition_list).)
|
||||
endif
|
||||
valid_super_partition_list :=
|
||||
endif # BOARD_SUPER_PARTITION_PARTITION_LIST
|
||||
|
||||
endif # USE_LOGICAL_PARTITIONS
|
||||
|
||||
# ###############################################################
|
||||
|
|
Loading…
Reference in a new issue