“mkimage“ command not found - U-Boot images will not be builtmake[2]: *** [arch/arm/boot/uImage] Err

问题

今天在HarmonyOS中编译Linux4.9.7的内核时报错这个问题:

"mkimage" command not found - U-Boot images will not be built
make[2]: *** [arch/arm/boot/uImage] Error 1
make[1]: *** [uImage] Error 2

在这里插入图片描述

解决

一般的思想是它缺少什么我们去找相对应的依赖包装好就可以了。
可是目前mkimage已经被废弃,但是可以在u-boot-tools中找到,所以:

sudo apt-get install u-boot-tools

即可解决!!!

猜你喜欢

转载自blog.csdn.net/qq_30722795/article/details/109277786
今日推荐