nitrogen6x-lite: 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:04 +02:00 committed by Otavio Salvador
parent 5b1098414a
commit ccd608a241

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}-imx6dl-nit6xlite.dtb;imx6dl-nit6xlite.dtb \
"
IMAGE_DEPENDS_wic_append = " dosfstools-native mtools-native"
# Boot scripts to install
BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"