From 7acf9064a76b55d57dca4451376c90877ec24b7c Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Tue, 11 Jul 2023 14:43:27 -0500 Subject: [PATCH] imx8qxpc0mek.conf: Fix initramfs build [YOCIMX-7140] For the following build: ``` MACHINE=imx8qxpc0mek bitbake fsl-image-mfgtool-initramfs ``` There is a failure: ``` u-boot-imx-mfgtool PROVIDES u-boot-mfgtool but was skipped: The selected UBOOT_CONFIG key ['mfgtool'] has no match in dict_keys(['sd', 'fspi']). u-boot-fslc-mfgtool PROVIDES u-boot-mfgtool but was skipped: The selected UBOOT_CONFIG key ['mfgtool'] has no match in dict_keys(['sd', 'fspi']). u-boot-imx-mfgtool PROVIDES u-boot-mfgtool but was skipped: The selected UBOOT_CONFIG key ['mfgtool'] has no match in dict_keys(['sd', 'fspi']). ERROR: Required build target 'fsl-image-mfgtool-initramfs' has no buildable providers. Missing or unbuildable dependency chain was: ['fsl-image-mfgtool-initramfs', 'u-boot-mfgtool'] ``` The problem is `UBOOT_CONFIG[mfgtool]` is not defined for the machine. Note that upstream does no longer require this. Signed-off-by: Tom Hochstein --- meta-bsp/conf/machine/imx8qxpc0mek.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-bsp/conf/machine/imx8qxpc0mek.conf b/meta-bsp/conf/machine/imx8qxpc0mek.conf index 5c709a3201..701a2abfec 100644 --- a/meta-bsp/conf/machine/imx8qxpc0mek.conf +++ b/meta-bsp/conf/machine/imx8qxpc0mek.conf @@ -21,3 +21,5 @@ KERNEL_DEVICETREE += " \ freescale/imx8dx-mek-ov5640-rpmsg.dtb \ freescale/imx8dx-mek-rpmsg.dtb \ " + +UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig"