mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
6bd39a61b7
commit
1465bc8787
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user