]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-mfgtool.inc: Align SPL_IMAGE and SPL_SYMLINK with OE 825/head
authorTom Hochstein <tom.hochstein@nxp.com>
Fri, 9 Jul 2021 17:53:37 +0000 (12:53 -0500)
committerTom Hochstein <tom.hochstein@nxp.com>
Fri, 9 Jul 2021 19:03:19 +0000 (14:03 -0500)
The deploy task of u-boot-imx-mfgtool fails due to the incorrect
addition of an 'spl' sub-folder:

```
install: cannot create regular file '.../tmp/work/imx8mq_evk-fsl-linux/u-boot-imx-mfgtool/2021.04-r0/deploy-u-boot-imx-mfgtool/spl/u-boot-spl.bin-imx8mq-evk-mfgtool-2021.04-r0-mfgtool-2021.04-r0': No such file or directory
```

The customization of SPL_IMAGE and SPL_SYMLINK for mfgtool should
just add -mfgtool to the values defined in OE-core. Instead, the
base SPL_BINARYNAME is changed to SPL_BINARY, which is why the
extra folder 'spl' is in the path.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-bsp/u-boot/u-boot-mfgtool.inc

index 91526ad7c87fe1c110c3c450f560e3aed2c27337..92d055bfb974ee3ff4dca1e7f62ec8f0f24d3fbf 100644 (file)
@@ -17,5 +17,5 @@ UBOOT_CONFIG = "mfgtool"
 # Add 'mfgtool' suffix
 UBOOT_IMAGE = "u-boot-${MACHINE}-mfgtool-${PV}-${PR}.${UBOOT_SUFFIX}"
 UBOOT_SYMLINK = "u-boot-${MACHINE}-mfgtool.${UBOOT_SUFFIX}"
-SPL_IMAGE = "${SPL_BINARY}-${MACHINE}-mfgtool-${PV}-${PR}"
-SPL_SYMLINK = "${SPL_BINARY}-mfgtool-${MACHINE}"
+SPL_IMAGE = "${SPL_BINARYNAME}-${MACHINE}-mfgtool-${PV}-${PR}"
+SPL_SYMLINK = "${SPL_BINARYNAME}-mfgtool-${MACHINE}"