IMAGE_PATH = "${DEPLOY_DIR_IMAGE}" | |
IMAGE_LIST = "${IMAGE_PATH}/tee.img \ | |
${IMAGE_PATH}/boot.img \ | |
${IMAGE_PATH}/system.ext4 \ | |
${IMAGE_PATH}/system.ubi \ | |
${IMAGE_PATH}/recovery.ext4 \ | |
${IMAGE_PATH}/recovery.ubi " | |
DEPENDS += "zip-native" | |
do_packing_images_post_funcs() { | |
zip -j ${IMAGE_PATH}/update.zip ${IMAGE_LIST} | |
} | |
addtask packing_images_post_funcs after do_image_complete before do_build | |