blob: 71768a628884781becfe19451a1b649982e53010 [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
17do_generate_flash[depends] += "${INITRD_IMAGE}:do_rootfs"
18do_generate_flash[depends] += "${PN}:do_rootfs"
19
Brad Bishopc5361472016-02-29 10:21:51 -050020addtask generate_flash before do_build