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 | |
| 4 | INITRD_IMAGE ?= "core-image-minimal-initramfs" |
| 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 | |
| 17 | do_generate_flash[depends] += "${INITRD_IMAGE}:do_rootfs" |
| 18 | do_generate_flash[depends] += "${PN}:do_rootfs" |
| 19 | |
Brad Bishop | 327bfd6 | 2016-02-29 10:21:51 -0500 | [diff] [blame] | 20 | addtask generate_flash before do_build |