blob: 68acca9bc3c646be12572d143c3107bc8d9afd38 [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
Rick Altherr4d9fd232016-12-08 12:21:49 -08004INITRD_IMAGE ?= "obmc-phosphor-initramfs"
Milton D. Miller IIee7c1202016-01-20 15:36:27 -06005INITRD ?= "${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
Patrick Williams352f50d2016-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 IIee7c1202016-01-20 15:36:27 -060019
Brad Bishop327bfd62016-02-29 10:21:51 -050020addtask generate_flash before do_build