i can build loadable module , working application successfully. i'm trying include driver in kernel driver folder built-in driver. when tried this, there no device file created in /dev folder. necessary steps built-in module ? there modification needed in existing module ?
thanks in advance
i believe question similar question compiling driver part of kernel, not module
the answer question mentioned modifying kernel makefiles include module object or directory.
in summary steps are:
- copy driver source code directory under
<linux kernel src>/drivers. edit makefile add line:
obj-y += your_driver_diredit makefile in driver directory add line:
obj-y := your_driver.o
Comments
Post a Comment