From 1465bc8787155d29911598c9bb6fecdf7b9b4ba0 Mon Sep 17 00:00:00 2001 From: Maciej Borzecki Date: Tue, 2 Feb 2016 15:31:46 +0100 Subject: u-boot-rpi: use STAGING_LIBEXECDIR_NATIVE for rpi-mkimage tools 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 --- 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 db5ea84..ea0c173 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 } -- cgit v1.2.3-54-g00ecf