The rpi-mkimage tools are installed ${libexecdir}/rpi-mkimage within native sysroot, where ${libexecdir} resolves to /usr/libexec. This caused the build to fail due to recipe trying to access ${libdir}/mkimage. Fix the paths to use an unambiguous STAGING_LIBEXECDIR_NATIVE so that a proper location is used.
Signed-off-by: Maciej Borzecki <maciej.borze...@open-rnd.pl> --- recipes-bsp/u-boot/u-boot-rpi_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/u-boot/u-boot-rpi_git.bb b/recipes-bsp/u-boot/u-boot-rpi_git.bb index db5ea84fc0408d90ccb17ed578305ce5b11f568b..ea0c173b59290d5d6d080c9b487be8bf789f0d58 100644 --- a/recipes-bsp/u-boot/u-boot-rpi_git.bb +++ b/recipes-bsp/u-boot/u-boot-rpi_git.bb @@ -24,6 +24,6 @@ COMPATIBLE_MACHINE = "raspberrypi" do_compile_append() { # Create kernel.img from uboot.bin and name it u-boot.img - ${STAGING_DIR_NATIVE}/usr/lib/rpi-mkimage/imagetool-uncompressed.py u-boot.bin + ${STAGING_LIBEXECDIR_NATIVE}/rpi-mkimage/imagetool-uncompressed.py u-boot.bin mv kernel.img u-boot.img } -- 2.5.0 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto