blob: f0c4060596c2417fae91e915b4960d4ff2ee0cc4 [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
Rick Altherr92220932016-12-08 12:21:49 -08004INITRD_IMAGE ?= "obmc-phosphor-initramfs"
Milton D. Miller II270cbb82016-01-20 15:36:27 -06005
6IMAGE_BASETYPE ?= "squashfs-xz"
Andrew Jeffery9fa01292016-02-23 23:46:58 +10307OVERLAY_BASETYPE ?= "jffs2"
Milton D. Miller II270cbb82016-01-20 15:36:27 -06008
Brad Bishopc5361472016-02-29 10:21:51 -05009IMAGE_TYPES += "overlay"
Milton D. Miller II270cbb82016-01-20 15:36:27 -060010
Brad Bishopc5361472016-02-29 10:21:51 -050011IMAGE_TYPEDEP_overlay = "${IMAGE_BASETYPE}"
Milton D. Miller II270cbb82016-01-20 15:36:27 -060012IMAGE_TYPES_MASKED += "overlay"
13
14ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.${IMAGE_BASETYPE}"
15
Patrick Williams7c780e52016-06-21 14:00:16 -050016do_generate_flash[depends] += "${INITRD_IMAGE}:do_image_complete"
17do_generate_flash[depends] += "${PN}:do_image_complete"
Milton D. Miller II270cbb82016-01-20 15:36:27 -060018
Brad Bishopc5361472016-02-29 10:21:51 -050019addtask generate_flash before do_build