Brad Bishop | 327bfd6 | 2016-02-29 10:21:51 -0500 | [diff] [blame] | 1 | PACKAGES = " " |
| 2 | EXCLUDE_FROM_WORLD = "1" |
Milton D. Miller II | ee7c120 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 3 | |
Rick Altherr | 4d9fd23 | 2016-12-08 12:21:49 -0800 | [diff] [blame] | 4 | INITRD_IMAGE ?= "obmc-phosphor-initramfs" |
Milton D. Miller II | ee7c120 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 5 | |
| 6 | IMAGE_BASETYPE ?= "squashfs-xz" |
Andrew Jeffery | 4e86a43 | 2016-02-23 23:46:58 +1030 | [diff] [blame] | 7 | OVERLAY_BASETYPE ?= "jffs2" |
Milton D. Miller II | ee7c120 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 8 | |
Brad Bishop | 327bfd6 | 2016-02-29 10:21:51 -0500 | [diff] [blame] | 9 | IMAGE_TYPES += "overlay" |
Milton D. Miller II | ee7c120 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 10 | |
Brad Bishop | 327bfd6 | 2016-02-29 10:21:51 -0500 | [diff] [blame] | 11 | IMAGE_TYPEDEP_overlay = "${IMAGE_BASETYPE}" |
Milton D. Miller II | ee7c120 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 12 | IMAGE_TYPES_MASKED += "overlay" |
| 13 | |
| 14 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.${IMAGE_BASETYPE}" |
| 15 | |
Patrick Williams | 352f50d | 2016-06-21 14:00:16 -0500 | [diff] [blame] | 16 | do_generate_flash[depends] += "${INITRD_IMAGE}:do_image_complete" |
| 17 | do_generate_flash[depends] += "${PN}:do_image_complete" |
Milton D. Miller II | ee7c120 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 18 | |
Brad Bishop | 327bfd6 | 2016-02-29 10:21:51 -0500 | [diff] [blame] | 19 | addtask generate_flash before do_build |