summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej Borzecki <maciej.borzecki@open-rnd.pl>2016-02-02 15:31:47 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2016-02-26 20:42:19 +0100
commit053cb6ea0d6cdd266bd9cde8d5998f1b3aaf4ab5 (patch)
treeae01fae8fa4ed201db5d7f6c9ad1e1270247f539
parent1465bc8787155d29911598c9bb6fecdf7b9b4ba0 (diff)
downloadmeta-raspberrypi-053cb6ea0d6cdd266bd9cde8d5998f1b3aaf4ab5.tar.gz
linux-raspberrypi: 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-kernel/linux/linux-raspberrypi.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index 70e8bfe..05f2d2b 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -60,7 +60,7 @@ do_rpiboot_mkimage() {
60 if test "x${KERNEL_IMAGETYPE}" != "xuImage" ; then 60 if test "x${KERNEL_IMAGETYPE}" != "xuImage" ; then
61 if test -n "${KERNEL_DEVICETREE}"; then 61 if test -n "${KERNEL_DEVICETREE}"; then
62 # Add RPi bootloader trailer to kernel image to enable DeviceTree support 62 # Add RPi bootloader trailer to kernel image to enable DeviceTree support
63 ${STAGING_DIR_NATIVE}/usr/lib/rpi-mkimage/mkknlimg --dtok ${KERNEL_OUTPUT} ${KERNEL_OUTPUT} 63 ${STAGING_LIBEXECDIR_NATIVE}/rpi-mkimage/mkknlimg --dtok ${KERNEL_OUTPUT} ${KERNEL_OUTPUT}
64 fi 64 fi
65 fi 65 fi
66} 66}