nitrogen7: Add wic image tool support

Required when mainline BSP is used. See 79b9c97f for more details.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Gary Bisson 2017-04-28 09:30:06 +02:00 committed by Otavio Salvador
parent d313083895
commit 9e83df8278

View File

@ -21,6 +21,15 @@ IMAGE_BOOTLOADER ?= ""
# Ensure boot scripts will be available at rootfs time
do_rootfs[depends] += "u-boot-script-boundary:do_deploy"
# wic support
WKS_FILE ?= "sdimage-bootpart.wks"
IMAGE_BOOT_FILES = " \
6x_bootscript-${MACHINE};6x_bootscript \
${KERNEL_IMAGETYPE} \
${KERNEL_IMAGETYPE}-imx7d-nitrogen7.dtb;imx7d-nitrogen7.dtb \
"
IMAGE_DEPENDS_wic_append = " dosfstools-native mtools-native"
# Boot scripts to install
BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"