All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH] linux-raspberrypi: Adjust for libexecdir changes
@ 2016-01-30 17:05 Khem Raj
  2016-02-23 21:02 ` Anders Darander
  0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2016-01-30 17:05 UTC (permalink / raw)
  To: yocto

libexecdir has changed its location in latest OE core, it used to be
pointing to /usr/lib which was essentially same as libdir and when
hardcoded in do_rpiboot_mkimage it worked.

Fixes kernel build failures e.g.

DEBUG: Executing shell function do_rpiboot_mkimage
/a/builder/mnt/build-oe/tmp-musl/work/raspberrypi2-oe-linux-musleabi/linux-raspberrypi/1_4.1.10+gitAUTOINC+b74df9228c-r0/temp/run.do_rpiboot_mkimage.5543:
line 111:
/a/builder/mnt/build-oe/tmp-musl/sysroots/x86_64-linux/usr/lib/rpi-mkimage/mkknlimg: No such file or directory

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-kernel/linux/linux-raspberrypi.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index 70e8bfe..0798788 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -60,7 +60,7 @@ do_rpiboot_mkimage() {
     if test "x${KERNEL_IMAGETYPE}" != "xuImage" ; then
         if test -n "${KERNEL_DEVICETREE}"; then
             # Add RPi bootloader trailer to kernel image to enable DeviceTree support
-            ${STAGING_DIR_NATIVE}/usr/lib/rpi-mkimage/mkknlimg --dtok ${KERNEL_OUTPUT} ${KERNEL_OUTPUT}
+            ${STAGING_DIR_NATIVE}${libexecdir}/mkknlimg --dtok ${KERNEL_OUTPUT} ${KERNEL_OUTPUT}
         fi
     fi
 }
-- 
2.7.0



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-02-26 15:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-30 17:05 [meta-raspberrypi][PATCH] linux-raspberrypi: Adjust for libexecdir changes Khem Raj
2016-02-23 21:02 ` Anders Darander
2016-02-23 21:37   ` Andreas Müller
2016-02-24  4:21     ` Khem Raj
2016-02-25 16:32       ` Trevor Woerner
2016-02-24 20:28     ` Anders Darander
2016-02-24 21:44       ` Khem Raj
2016-02-26 11:35         ` Jonathan Liu
2016-02-26 15:40           ` Khem Raj
2016-02-25 13:44       ` Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.