错误如下:
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
DTC arch/arm/boot/dts/versatile-pb.dtb
/bin/sh: 1: /home/buildroot-2017.08-rc2/output/build/linux-3.10.100/scripts/dtc/dtc: not found
scripts/Makefile.lib:272: recipe for target 'arch/arm/boot/dts/versatile-pb.dtb' failed
make[3]: *** [arch/arm/boot/dts/versatile-pb.dtb] Error 12
可能是什么问题?
答案 0 :(得分:1)
git clone https://git.kernel.org/pub/scm/utils/dtc/dtc.git
cd dtc
make
然后它有效!
如果版本错误,可能会出现一些错误,例如
dtc: invalid option -- '@'
也许你可以尝试不同的版本。