树莓派尝试 内核编译驱动报错
linux/init.h no such filed的问题
用同样的makefile 编译
找到方法
sudo apt-get install linux-headers-rpi
sudo apt install git bc bison flex libssl-dev
sudo wget https://raw.githubusercontent.com/RPi-Distro/rpi-source/master/rpi-source -O /usr/local/bin/rpi-source && sudo chmod +x /usr/local/bin/rpi-source && /usr/local/bin/rpi-source -q --tag-update
rpi-source
报错
sudo apt install libncurses5-dev