blob: e7f4880f265757bbfe161ca4f097e0bfd04d6ddd [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001IMAGE_PATH = "${DEPLOY_DIR_IMAGE}"
2IMAGE_LIST = "${IMAGE_PATH}/tee.img \
3 ${IMAGE_PATH}/boot.img \
4 ${IMAGE_PATH}/system.ext4 \
5 ${IMAGE_PATH}/system.ubi \
6 ${IMAGE_PATH}/recovery.ext4 \
7 ${IMAGE_PATH}/recovery.ubi "
8DEPENDS += "zip-native"
9
10do_packing_images_post_funcs() {
11 zip -j ${IMAGE_PATH}/update.zip ${IMAGE_LIST}
12}
13
14addtask packing_images_post_funcs after do_image_complete before do_build
15