Creating a Custom Driver in LTIB

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a Custom Driver in LTIB

512 Views
PaulDeMetrotion
Senior Contributor I

I am attempting to integrate a custom GPIO driver into my LTIB build. I have added the necessary Kconfig and Makefile files to the custom directory that holds my source code. The proper menus appear in my configuration selection and the driver builds successfully. The problem I have is that when I perform a 'make modules' command to add the board specific drivers to my file system, this driver does not get included. How do I force the module Make file to include this driver?

2 Replies

82 Views
PaulDeMetrotion
Senior Contributor I

That was the problem. I had it integrated into the kernel. Thanks.

82 Views
LeonardoSandova
Specialist I

does the .config file contains your driver as a module ('CONFIG_<your module>=m')?

Leo