挪用别人的代码u-boot编译出错(无法删除'arch/arm/include/asm/arch': 是一个目录)

错误的打印log:

android03@PowerEdge-R730xd:~/pang/px30_android-8.1/u-boot$ make mrproper
rm: 无法删除'arch/arm/include/asm/arch': 是一个目录
Makefile:1536: recipe for target 'mrproper' failed
make: *** [mrproper] Error 1

failed to build some targets (2 seconds)

源码下u-boot/Makefile

修改位置:
    mrproper: clean $(mrproper-dirs)
	$(call cmd,rmdirs)
	$(call cmd,rmfiles)
	@rm -f arch/*/include/asm/arch
源代码:(rm  arch/*/include/asm/arch)
修改的代码:(rm -rf arch/*/include/asm/arch)

猜你喜欢

转载自blog.csdn.net/qq_38312843/article/details/104952220
今日推荐