LS1028A flex-build 全编译报错
使用命令:flex-builder clean 和 flex-builder clean-rfs。clean之后通过命令flex-builder -a arm64 -m ls1028ardb 重新全编译。
编译中报错:
CC common/main.o
make: *** No rule to make target 'common/initcall.o', needed by 'common/built-in.o'.Stop.
make: *** Waiting for unfinished jobs....
make: *** No rule to make target 'arch/arm/cpu/armv8/fsl-layerscape/nxp_a1006/a1006.o', needed by 'arch/arm/cpu/armv8/fsl-layerscape/nxp_a1006/nxp-a1006.o'.Stop.
/home/forlinx/work/OK1028-linux-fs/packages/firmware/OK1028-linux-uboot/scripts/Makefile.build:432: recipe for target 'arch/arm/cpu/armv8/fsl-layerscape/nxp_a1006' failed
make: *** Error 2
make: *** Waiting for unfinished jobs....
make: *** No rule to make target 'arch/arm/cpu/armv8/fsl-layerscape/nxp_a1007/a1007_crypto.o', needed by 'arch/arm/cpu/armv8/fsl-layerscape/nxp_a1007/nxp-a1007.o'.Stop.
/home/forlinx/work/OK1028-linux-fs/packages/firmware/OK1028-linux-uboot/scripts/Makefile.build:432: recipe for target 'arch/arm/cpu/armv8/fsl-layerscape/nxp_a1007' failed
make: *** Error 2
/home/forlinx/work/OK1028-linux-fs/packages/firmware/OK1028-linux-uboot/scripts/Makefile.build:432: recipe for target 'arch/arm/cpu/armv8/fsl-layerscape' failed
本帖最后由 leon10 于 2022-7-1 09:53 编辑
从日志结合代码看是编译uboot的时候arch/arm/cpu/armv8/fsl-layerscape/nxp_a1006/下没有对应c源文件, 可是为啥会没有对应源文件呢?是clean的时候clean掉了吗?
leon10 发表于 2022-7-1 09:42
从日志结合代码看是编译uboot的时候arch/arm/cpu/armv8/fsl-layerscape/nxp_a1006/下没有对应c源文件, 可 ...
您是使用flex-builder clean时把加密芯片的源码删除了,您需要重新解压一下源码,在编译就没问题了。还有在重新全编译的时候是不需要使用flex-builder clean的以及 flex-builder clean-rfs的,直接使用flex-builder -a arm64 -m ls1028ardb全编译即可。 hai 发表于 2022-7-1 13:46
您是使用flex-builder clean时把加密芯片的源码删除了,您需要重新解压一下源码,在编译就没问题 ...
好的,就是clean就会出现这样的问题对吗?
leon10 发表于 2022-7-1 19:17
好的,就是clean就会出现这样的问题对吗?
是的,在重新全编译的时候不需要flex-builder clean
页:
[1]