Merge "Move check-all-partition-sizes to a non-phony rule" am: 2ee5efd824
am: 468549471a
Change-Id: Ia83d37b549c97fd3dc91f6f3fddc7328fb2696bf
This commit is contained in:
@@ -3382,8 +3382,12 @@ droid_targets: check-all-partition-sizes
|
|||||||
|
|
||||||
.PHONY: check-all-partition-sizes check-all-partition-sizes-nodeps
|
.PHONY: check-all-partition-sizes check-all-partition-sizes-nodeps
|
||||||
|
|
||||||
|
check_all_partition_sizes_file := $(call intermediates-dir-for,PACKAGING,check-all-partition-sizes)/timestamp
|
||||||
|
|
||||||
|
check-all-partition-sizes: $(check_all_partition_sizes_file)
|
||||||
|
|
||||||
# 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.
|
||||||
check-all-partition-sizes: \
|
$(check_all_partition_sizes_file): \
|
||||||
build/make/tools/releasetools/sparse_img.py \
|
build/make/tools/releasetools/sparse_img.py \
|
||||||
$(call images-for-partitions,$(BOARD_SUPER_PARTITION_PARTITION_LIST))
|
$(call images-for-partitions,$(BOARD_SUPER_PARTITION_PARTITION_LIST))
|
||||||
|
|
||||||
@@ -3451,7 +3455,12 @@ define check-all-partition-sizes-target
|
|||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
check-all-partition-sizes check-all-partition-sizes-nodeps:
|
$(check_all_partition_sizes_file):
|
||||||
|
$(call check-all-partition-sizes-target)
|
||||||
|
$(call check-super-partition-size)
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
check-all-partition-sizes-nodeps:
|
||||||
$(call check-all-partition-sizes-target)
|
$(call check-all-partition-sizes-target)
|
||||||
$(call check-super-partition-size)
|
$(call check-super-partition-size)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user