[置顶] 编译linux内核时出现"mkimage" command not found

时间:2021-07-30 07:00:17

在ubuntu12.04编译内核 uImage 时出现如下错误,

Kernel: arch/arm/boot/zImage is ready

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

make: *** [uImage] Error 2

 

解决办法为:

在命令行输入: sudo apt-get install uboot-mkimage 安装即可!