meta-agl-bsp: Make more and better use of WIC images
[AGL/meta-agl.git] / meta-agl-bsp / conf / include / agl_dra7xx-evm.inc
index 86ed8d2..f5e8510 100644 (file)
@@ -48,6 +48,9 @@ IMAGE_INSTALL_append = " \
      cmem \
 "
 
-IMAGE_CLASSES_append_sota = " image_types_uboot sdcard_image-dra7xx-evm-ota"
-IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'dra7xx-evm-sdimg-ota  ', '', d)}"
-OSTREE_BOOTLOADER ?= "u-boot"
+# Include WIC support based on beaglebone
+do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
+WKS_FILE = "sdimage-bootpart.wks"
+IMAGE_BOOT_FILES = "MLO u-boot.img uEnv.txt"
+
+AGL_EXTRA_IMAGE_FSTYPES = "wic.xz wic.bmap wic.xz.sha256sum"