1、问题点:
ops@ops-PowerEdge-R430:~/rk3399/rk3399insdustry/u-boot$ make ARCHV=aarch64
make: *** No rule to make target '/home/ops/software/rk3399v71/industry_v1.9/rk3399insdustry/u-boot/include/common.h', needed by 'include/config/auto.conf'. Stop.
#### failed to build some targets ####
2、grep -rns "include/common.h" 发现包含此字段的文件
3、查看 vi ./include/autoconf.mk.dep

4、autoconf.mk.dep是autoconf.mk生成的文件,把autoconf.mk.dep删除掉,然后重新defconfig
make clean
make rk3399_defconfig
5、重新编译u-boot就OK了
make ARCHV=aarch64
本文介绍了解决U-Boot编译过程中遇到的常见问题,特别是找不到'include/common.h'文件的情况。通过一系列步骤,包括查找文件、清理配置、重新配置及编译等操作,最终解决了编译失败的问题。
1151

被折叠的 条评论
为什么被折叠?



