summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej Borzecki <maciej.borzecki@open-rnd.pl>2016-02-02 15:31:46 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2016-02-26 20:42:18 +0100
commit1465bc8787155d29911598c9bb6fecdf7b9b4ba0 (patch)
treeb6f5d36340d06ed91503fa3c85b952d6b1353313
parent6bd39a61b7e7cceaafc6d14bd516dd5cb7ffbf5c (diff)
downloadmeta-raspberrypi-1465bc8787155d29911598c9bb6fecdf7b9b4ba0.tar.gz
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 <maciej.borzecki@open-rnd.pl>
-rw-r--r--recipes-bsp/u-boot/u-boot-rpi_git.bb2
1 files changed, 1 insertions, 1 deletions
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"
24 24
25do_compile_append() { 25do_compile_append() {
26 # Create kernel.img from uboot.bin and name it u-boot.img 26 # Create kernel.img from uboot.bin and name it u-boot.img
27 ${STAGING_DIR_NATIVE}/usr/lib/rpi-mkimage/imagetool-uncompressed.py u-boot.bin 27 ${STAGING_LIBEXECDIR_NATIVE}/rpi-mkimage/imagetool-uncompressed.py u-boot.bin
28 mv kernel.img u-boot.img 28 mv kernel.img u-boot.img
29} 29}