]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-base.inc: add imx-boot as a dependency for mx8m machines
authorAndrey Zhizhikin <andrey.z@gmail.com>
Sun, 13 Dec 2020 15:47:35 +0000 (15:47 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Sun, 13 Dec 2020 21:56:04 +0000 (18:56 -0300)
imx-boot is required to be provided as a dependency for mx8m machines in
order to provide a boot container, which WIC is expecting to include
into the final image.

Since the only dependency for WIC present in the layer now is targeting
mx8 machine and MACHINEOVERRIDES_EXTENDER_FILTER_OUT removes it when
use-mainline-bsp is set - it leaves no 'imx-boot' container in the path
of creating WIC file, and build for mx8m machines fails.

Append WKS_FILE_DEPENDS to include imx-boot for mx8m, as it is required
to be present regardless of the BSP flavor chosen.

Fixes: e2589ccb ("imx-base.inc: Avoid adding 'imx-boot' as dependency for all SoCs")
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
conf/machine/include/imx-base.inc

index 9ec67443cfadb3420d8987436af3e68a623082ab..57890da676f696f28973deebf3099bd93a1d540a 100644 (file)
@@ -366,6 +366,7 @@ WKS_FILE_DEPENDS ?= " \
 "
 
 WKS_FILE_DEPENDS_append_mx8 = " imx-boot"
+WKS_FILE_DEPENDS_append_mx8m = " imx-boot"
 
 SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks.in"
 SOC_DEFAULT_WKS_FILE_mx8m ?= "imx-imx-boot-bootpart.wks.in"