I need to install a tool in Raspberry pi 3B+ that needs kernel version 4.14. To install the tool, I need to install some kernel patches and need the headers for the installed kernel. On running
I get the version, 4.14.50-v7+. When I check the directory /var/modules there are 4 directories, 4.14.50+, 4.14.50-v7+,4.19.66+, 4.19.66-v7+. But the 'build' directory exists only inside 4.19.66+. I need the build directory for 4.14.50-v7+. How can I get it? Also to add, running
sudo apt install raspberrypi-kernel-headers
says, already the newest version.