fix build

Change-Id: Ice6a53a1fc7b5df0fc4ac73fbf5a8a007739ca71
This commit is contained in:
Doug Zongker
2014-08-22 14:48:50 -07:00
parent 724fb897fc
commit e47ff321e6

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: