How to add a Linux kernel driver module as a Buildroot package?
<p>I am currently building an Embedded Linux for my Zybo Board from Xilinx. For this I use Buildroot. Now I want to add a <a href="http://www.instructables.com/files/orig/FX8/HRRR/HX1W69D4/FX8HRRRHX1W69D4.c" rel="noreferrer">driver</a>, written in C, which can be used by a user program to write to some specific registers, enabling it to control some LEDs. When I checked the <a href="https://buildroot.org/downloads/manual/manual.html#adding-packages" rel="noreferrer">manual</a>, it basically says the first thing to do is create a Config.in in a new package folder, where you write some text explaining the driver. Okay, I did that. But now the makefile: I don't quite understand what needs to be in there. Is it just a compile command like <code>gcc -o ledcontrol hellofunc.c</code>? Is there something else I need to do apart from the Config.in and Makefile?</p>