How will get the driver added into the kernel what are KConfig files?

How will get the driver added into the kernel what are KConfig files?
Answer
3 Answers
  1. Create a directory like my_drvr inside drivers(which is in the Linux source code) for your driver and put your driver (my_driver.c) file inside this directory. …
  2. Create one Makefile inside your driver directory (using vi any editor) and inside this put obj-$(CONFIG_MY_DRIVER) += my_driver.o and save this file.
 

Tìm kiếm

Back
Top