]> code.ossystems Code Review - meta-freescale.git/commit
imx-boot: fix mkimage_uboot linking issue
authorMing Liu <ming.liu@toradex.com>
Sat, 2 May 2020 11:09:17 +0000 (13:09 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 5 May 2020 11:42:38 +0000 (08:42 -0300)
commit851cb78a9f7fc94574e39a6bf7fe90a21c329f6f
treee766cfe36b4ad324fba04006c9c90c2a1782ec69
parentcf58e44173c3ee494e8b80e0fd54382e627f1f88
imx-boot: fix mkimage_uboot linking issue

In imx-boot's Makefile, it downloads a native tool mkimage_uboot and
executes it, but this native tool requires libssl.so.1.1, which is in
${STAGING_LIBDIR_NATIVE}, we need set LD_LIBRARY_PATH to include it, or
it might run into following errors:
| ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
| ./mkimage_uboot: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Signed-off-by: Ming Liu <ming.liu@toradex.com>
recipes-bsp/imx-mkimage/imx-boot_0.2.bb