blob: 8997aaea1ea6970214d8e0b956732d75aaaebc05 [file] [log] [blame]
Milton D. Miller IIee7c1202016-01-20 15:36:27 -06001
2INITRD_IMAGE ?= "core-image-minimal-initramfs"
3INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.${INITRD_CTYPE}${uboot}"
4
5IMAGE_BASETYPE ?= "squashfs-xz"
Andrew Jeffery4e86a432016-02-23 23:46:58 +10306OVERLAY_BASETYPE ?= "jffs2"
Milton D. Miller IIee7c1202016-01-20 15:36:27 -06007
8IMAGE_TYPES_${PN} += "${IMAGE_BASETYPE}"
9
10IMAGE_TYPEDEP_overlay = "${IMAGE_BASETYPE} ${OVERLAY_BASETYPE}"
11IMAGE_TYPES_MASKED += "overlay"
12
13ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.${IMAGE_BASETYPE}"
14
15do_generate_flash[depends] += "${INITRD_IMAGE}:do_rootfs"
16do_generate_flash[depends] += "${PN}:do_rootfs"
17
18addtask generate_flash after do_rootfs before do_build