What is the ideal way to add a driver to your images? I need to add a driver for an ethernet device that goes through PCI but have been unable to compile the source code for it (neither native or cross compilation seems to work) since I can’t find the linux-headers for the Kernel 4.9.67-+g1db9f06 (in the image the folder /lib/modules/4.9.67-+g1db9f06/build does not exists).
What am I missing? Can I use the image you provide as it is and install the driver? (I know native compilation is not encouraged, though). Do I need to compile the BSP and/or Kernel with the driver I intent to use?
I appreciate any help/tip you can provide.
Thanks for your time.