forked from openkylin/platform_build
Merge "BOARD_SUPER_PARTITION_PARTITION_LIST check moved to config.mk" am: df899f64d0
am: 2843e2e16f
Change-Id: I5d01fbdc0378c4bcd346e828022d67923b247503
This commit is contained in:
commit
01fa11cfe9
|
@ -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 New Issue