fix build

Change-Id: I1e503406129343bbfddacc1150c81e403b47778c
This commit is contained in:
Doug Zongker
2014-08-22 14:48:50 -07:00
parent fc44a515d4
commit 5f9c28cad4

View File

@@ -69,7 +69,7 @@ def AddVendor(output_zip, prefix="IMAGES/"):
output_zip."""
block_list = common.MakeTempFile(prefix="vendor-blocklist-", suffix=".map")
imgname = BuildVendor(OPTIONS.input_tmp, OPTIONS.info_dict,
block_list=block_list.name)
block_list=block_list)
with open(imgname, "rb") as f:
common.ZipWriteStr(output_zip, prefix + "vendor.img", f.read())
with open(block_list, "rb") as f: