Merge "BOARD_SUPER_PARTITION_PARTITION_LIST check moved to config.mk"
This commit is contained in:
@@ -2570,14 +2570,6 @@ droid_targets: check_android_partition_sizes
|
|||||||
|
|
||||||
.PHONY: 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.
|
# Add image dependencies so that generated_*_image_info.txt are written before checking.
|
||||||
ifneq (,$(filter system,$(BOARD_SUPER_PARTITION_PARTITION_LIST)))
|
ifneq (,$(filter system,$(BOARD_SUPER_PARTITION_PARTITION_LIST)))
|
||||||
check_android_partition_sizes: $(BUILT_SYSTEMIMAGE)
|
check_android_partition_sizes: $(BUILT_SYSTEMIMAGE)
|
||||||
|
@@ -946,6 +946,16 @@ $(error Should not define BOARD_PRODUCT_SERVICESIMAGE_PARTITION_SIZE and \
|
|||||||
endif
|
endif
|
||||||
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
|
endif # USE_LOGICAL_PARTITIONS
|
||||||
|
|
||||||
# ###############################################################
|
# ###############################################################
|
||||||
|
Reference in New Issue
Block a user