blob: 1c6137d7a1397567c030ee793fd9c4b211a4fbd9 [file] [log] [blame]
Milton D. Miller II270cbb82016-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"
6OVERLAY_BASETYPE ?= "ext4"
7
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