linux kernel编译之makefile编译报错之missing separator解决
报错1:
[13:47:25]guang@ubuntu:~/linux-kernel/ntymemory$ make
[13:47:25]Makefile:8: *** missing separator. Stop.
原因参考:https://blog.csdn.net/haifeng_gu/article/details/73258714
解决:
sudo vim /etc/vim/vimrc 或者sudo vim ~/.vimrc
加入:
1 autocmd FileType make set noexpandtab