Milton D. Miller II | ee7c120 | 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" |
Andrew Jeffery | 4e86a43 | 2016-02-23 23:46:58 +1030 | [diff] [blame^] | 6 | OVERLAY_BASETYPE ?= "jffs2" |
Milton D. Miller II | ee7c120 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 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 |