Merge "List partition_table.bpt as an output of running bpttool"

am: aba93cf736

Change-Id: Ib986d3551a2bfff5ce813139380378b11dd84d82
This commit is contained in:
Casey Dahlin 2016-08-23 00:56:19 +00:00 committed by android-build-merger
commit 14aa63a52a
1 changed files with 5 additions and 1 deletions

View File

@ -1438,10 +1438,11 @@ userdatatarball-nodeps: $(FS_GET_STATS)
ifdef BOARD_BPT_INPUT_FILES
BUILT_BPTIMAGE_TARGET := $(PRODUCT_OUT)/partition-table.img
BUILT_BPTJSON_TARGET := $(PRODUCT_OUT)/partition-table.bpt
INTERNAL_BVBTOOL_MAKE_TABLE_ARGS := \
--output_gpt $(BUILT_BPTIMAGE_TARGET) \
--output_json $(PRODUCT_OUT)/partition-table.bpt \
--output_json $(BUILT_BPTJSON_TARGET) \
$(foreach file, $(BOARD_BPT_INPUT_FILES), --input $(file))
ifdef BOARD_BPT_DISK_SIZE
@ -1454,6 +1455,9 @@ define build-bptimage-target
endef
INSTALLED_BPTIMAGE_TARGET := $(BUILT_BPTIMAGE_TARGET)
$(BUILT_BPTJSON_TARGET): $(INSTALLED_BPTIMAGE_TARGET)
$(hide) touch -c $(BUILT_BPTJSON_TARGET)
$(INSTALLED_BPTIMAGE_TARGET): $(BPTTOOL) $(BOARD_BPT_INPUT_FILES)
$(build-bptimage-target)