Phương Linh
New member
How do I compile the driver source file in Linux?
Answer
To actually compile drivers do the following:
Answer
To actually compile drivers do the following:
- Copy the driver source files to a location of your choice.
- Change to the directory containing the driver source files; this is usually a directory with .c, and .h files in it.
- To make the drivers, type “make -C /path/to/kernel/source SUBDIRS=$PWD modules”.