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 | INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.${INITRD_CTYPE}${uboot}" |
| 6 | |
| 7 | IMAGE_BASETYPE ?= "squashfs-xz" |
Andrew Jeffery | 4e86a43 | 2016-02-23 23:46:58 +1030 | [diff] [blame] | 8 | OVERLAY_BASETYPE ?= "jffs2" |
Milton D. Miller II | ee7c120 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 9 | |
Brad Bishop | 327bfd6 | 2016-02-29 10:21:51 -0500 | [diff] [blame] | 10 | IMAGE_TYPES += "overlay" |
Milton D. Miller II | ee7c120 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 11 | |
Brad Bishop | 327bfd6 | 2016-02-29 10:21:51 -0500 | [diff] [blame] | 12 | IMAGE_TYPEDEP_overlay = "${IMAGE_BASETYPE}" |
Milton D. Miller II | ee7c120 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 13 | IMAGE_TYPES_MASKED += "overlay" |
| 14 | |
| 15 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.${IMAGE_BASETYPE}" |
| 16 | |
Patrick Williams | 352f50d | 2016-06-21 14:00:16 -0500 | [diff] [blame] | 17 | do_generate_flash[depends] += "${INITRD_IMAGE}:do_image_complete" |
| 18 | do_generate_flash[depends] += "${PN}:do_image_complete" |
Milton D. Miller II | ee7c120 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 19 | |
Brad Bishop | 327bfd6 | 2016-02-29 10:21:51 -0500 | [diff] [blame] | 20 | addtask generate_flash before do_build |