Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df899f64 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "BOARD_SUPER_PARTITION_PARTITION_LIST check moved to config.mk"

parents aa2abc33 78ae2613
Loading
Loading
Loading
Loading
+0 −8
Original line number Original line Diff line number Diff line
@@ -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)
+10 −0
Original line number Original line Diff line number Diff line
@@ -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


# ###############################################################
# ###############################################################