blob: 71768a628884781becfe19451a1b649982e53010 [file] [log] [blame]
Brad Bishop327bfd62016-02-29 10:21:51 -05001PACKAGES = " "
2EXCLUDE_FROM_WORLD = "1"
Milton D. Miller IIee7c1202016-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 Jeffery4e86a432016-02-23 23:46:58 +10308OVERLAY_BASETYPE ?= "jffs2"
Milton D. Miller IIee7c1202016-01-20 15:36:27 -06009
Brad Bishop327bfd62016-02-29 10:21:51 -050010IMAGE_TYPES += "overlay"
Milton D. Miller IIee7c1202016-01-20 15:36:27 -060011
Brad Bishop327bfd62016-02-29 10:21:51 -050012IMAGE_TYPEDEP_overlay = "${IMAGE_BASETYPE}"
Milton D. Miller IIee7c1202016-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 Bishop327bfd62016-02-29 10:21:51 -050020addtask generate_flash before do_build