]> code.ossystems Code Review - meta-freescale.git/commit
u-boot: Split out u-boot tools
authorJoshua Watt <Joshua.Watt@garmin.com>
Wed, 25 Mar 2020 14:09:06 +0000 (09:09 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 30 Mar 2020 14:26:32 +0000 (11:26 -0300)
commitdad59d2dd0bb42ca5a8c3c1c697c3576b76d334c
tree14a2ba079ca7ff23f5e01a24d797f152ab6e909e
parentf75ec4ec1e25afc2f415e6cf25b96d2caf8f3936
u-boot: Split out u-boot tools

Splits out the IMX u-boot tools build to it's own recipe. This is
required because these are native tools and thus need to be in a -native
recipe to be properly relocated (instead of being built as part of the
target u-boot-imx recipe). If the tools aren't built in a -native
recipe, then the mkimage tool will contain a hard coded path to the
uninative program loader from the sandbox where it was first built and
this will not get corrected when restored from sstate. The result is
that the mkimage_uboot executable can't run because it's looking for a
hard coded program loader that does not exist, resulting in strange
build errors like:

 ./mkimage_uboot: Command not found

even though the executable is obviously in the correct location.

Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
conf/machine/include/imx-base.inc
recipes-bsp/imx-mkimage/imx-boot_0.2.bb
recipes-bsp/u-boot/u-boot-imx-common.inc [new file with mode: 0644]
recipes-bsp/u-boot/u-boot-imx-tools_2019.04.bb [new file with mode: 0644]
recipes-bsp/u-boot/u-boot-imx_2019.04.bb