make distclean & qemu

make distclean && rm -rf *-linux-user *-softmmu", 
root@cloud:/home/ubuntu/qemu/build# make -j 64
make[1]: Entering directory '/home/ubuntu/qemu/slirp'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/ubuntu/qemu/slirp'
make[1]: *** No rule to make target '/data2/hyper/qemu/dtc/libfdt/fdt.c', needed by 'libfdt/fdt.o'.  Stop.
Makefile:458: recipe for target 'subdir-dtc' failed
make: *** [subdir-dtc] Error 2
root@cloud:/home/ubuntu/qemu/build# apt-get install -y libfdt-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libfdt-dev is already the newest version (1.4.5-3).
0 upgraded, 0 newly installed, 0 to remove and 161 not upgraded.
root@cloud:/home/ubuntu/qemu/build# cd ..
root@cloud:/home/ubuntu/qemu# git submodule add -f https://git.kernel.org/pub/scm/utils/dtc/dtc.git dtc
Adding existing repo at 'dtc' to the index
root@cloud:/home/ubuntu/qemu# make distclean
rm -f *.timestamp
原文地址:https://www.cnblogs.com/dream397/p/13850629.html