mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00
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>
This commit is contained in:
parent
1465bc8787
commit
053cb6ea0d
|
@ -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_LIBEXECDIR_NATIVE}/rpi-mkimage/mkknlimg --dtok ${KERNEL_OUTPUT} ${KERNEL_OUTPUT}
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user