Milton D. Miller II | 270cbb8 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 1 | |
| 2 | INITRD_IMAGE ?= "core-image-minimal-initramfs" |
| 3 | INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.${INITRD_CTYPE}${uboot}" |
| 4 | |
| 5 | IMAGE_BASETYPE ?= "squashfs-xz" |
| 6 | OVERLAY_BASETYPE ?= "ext4" |
| 7 | |
| 8 | IMAGE_TYPES_${PN} += "${IMAGE_BASETYPE}" |
| 9 | |
| 10 | IMAGE_TYPEDEP_overlay = "${IMAGE_BASETYPE} ${OVERLAY_BASETYPE}" |
| 11 | IMAGE_TYPES_MASKED += "overlay" |
| 12 | |
| 13 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.${IMAGE_BASETYPE}" |
| 14 | |
| 15 | do_generate_flash[depends] += "${INITRD_IMAGE}:do_rootfs" |
| 16 | do_generate_flash[depends] += "${PN}:do_rootfs" |
| 17 | |
| 18 | addtask generate_flash after do_rootfs before do_build |