I'm attempting to add a kernel module on a Raspbian Debian installation for an SDIO-based wifi module driver( found here: https://hackaday.io/post/28712)
The stable image comes with kernel 4.1, so first I upgraded the kernel(the uname -r command now reports the kernel version as 4.2.7-v7+).
So I run
git clone https://github.com/al177/esp8089.git cd esp8089 make
However, the "make" command returns the "Kernel build tree not found" error. The kernel was compiled from source, but can't find the build tree. I'm in a bit over my head with this.