blob: dbe4daf4093331665c5210293ed01e7f3442239b [file] [log] [blame]
Brad Bishopc5361472016-02-29 10:21:51 -05001PACKAGES = " "
2EXCLUDE_FROM_WORLD = "1"
Milton D. Miller II270cbb82016-01-20 15:36:27 -06003
4INITRD_IMAGE ?= "core-image-minimal-initramfs"
5INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.${INITRD_CTYPE}${uboot}"
6
7IMAGE_BASETYPE ?= "squashfs-xz"
Andrew Jeffery9fa01292016-02-23 23:46:58 +10308OVERLAY_BASETYPE ?= "jffs2"
Milton D. Miller II270cbb82016-01-20 15:36:27 -06009
Brad Bishopc5361472016-02-29 10:21:51 -050010IMAGE_TYPES += "overlay"
Milton D. Miller II270cbb82016-01-20 15:36:27 -060011
Brad Bishopc5361472016-02-29 10:21:51 -050012IMAGE_TYPEDEP_overlay = "${IMAGE_BASETYPE}"
Milton D. Miller II270cbb82016-01-20 15:36:27 -060013IMAGE_TYPES_MASKED += "overlay"
14
15ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.${IMAGE_BASETYPE}"
16
Patrick Williams7c780e52016-06-21 14:00:16 -050017do_generate_flash[depends] += "${INITRD_IMAGE}:do_image_complete"
18do_generate_flash[depends] += "${PN}:do_image_complete"
Milton D. Miller II270cbb82016-01-20 15:36:27 -060019
Brad Bishopc5361472016-02-29 10:21:51 -050020addtask generate_flash before do_build