内核编译报错recipe for target 'arch/arm/boot/dts/rk3188-tb.dtb' failed
make -f scripts/Makefile.build obj=arch/arm/boot/dts MACHINE= dtbsarm-rk3288-linux-uclibcgnueabihf-gcc -E -Wp,-MD,arch/arm/boot/dts/.rk3188-tb.dtb.d.pre.tmp -nostdinc -I/run/media/gentoo/sda5/rk3288/kernel/arch/arm/boot/dts -I/run/media/gentoo/sda5/rk3288/kernel/arch/arm/boot/dts/include -undef -D__DTS__ -x assembler-with-cpp -o arch/arm/boot/dts/.rk3188-tb.dtb.dts arch/arm/boot/dts/rk3188-tb.dts ; /run/media/gentoo/sda5/rk3288/kernel/scripts/dtc/dtc -O dtb -o arch/arm/boot/dts/rk3188-tb.dtb -b 0 -i arch/arm/boot/dts/-d arch/arm/boot/dts/.rk3188-tb.dtb.d.dtc.tmp arch/arm/boot/dts/.rk3188-tb.dtb.dts ; cat arch/arm/boot/dts/.rk3188-tb.dtb.d.pre.tmp arch/arm/boot/dts/.rk3188-tb.dtb.d.dtc.tmp > arch/arm/boot/dts/.rk3188-tb.dtb.d
Error: arch/arm/boot/dts/rk3188-tb.dts:498.3-4 syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.lib:277: recipe for target 'arch/arm/boot/dts/rk3188-tb.dtb' failed
make: *** Error 1
/run/media/gentoo/sda5/rk3288/kernel/arch/arm/Makefile:305: recipe for target 'dtbs' failed
make: *** Error 2
其实就是执行/run/media/gentoo/sda5/rk3288/kernel/scripts/dtc/dtc -O dtb -o arch/arm/boot/dts/rk3188-tb.dtb -b 0 -i arch/arm/boot/dts/-d arch/arm/boot/dts/.rk3188-tb.dtb.d.dtc.tmp arch/arm/boot/dts/.rk3188-tb.dtb.dts报错。
我没改过arch/arm/boot/dts/rk3188-tb.dts,什么情况?
原来make后面要加上firefly-rk3288.img这个目标参数啊,好吧。。 你现在才知道啊,这个参数肯定要加的啊,你一开始不看,现在遇到问题了吧,还是要认真看别人写的编译文档啊。 henhaohaoenhaohaohao
页:
[1]