Results 1 to 2 of 2
What purpose does the "tools" and "samples" folders serve in the Linux kernel source code?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-08-2013 #1
What purpose does the "tools" and "samples" folders serve?
- 07-28-2013 #2
- Join Date
- May 2013
These are directories which will provide elements of the kernel when you make the kernel. Normally a user who is making a kernel does not touch these files, but rather configures a kernel with the command: make config, or make xconfig. These commands bring up an interactive display where you choose your options and these options will use the files in the directories of the kernel source to build the kernel. If you are a kernel hacker and you know what you are doing, you can make changes in these files, but it's not necessary to build the kernel. The information about the source is in the Documentation directory rather than in the source directories. If you inspect the files in the tools and samples directories, as well as the other directories you will find source code, mainly c source code and makefile code, which means that to mess with it you really need to be a c programmer.