Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question What purpose does the "tools" and "samples" folders serve?

    What purpose does the "tools" and "samples" folders serve in the Linux kernel source code?

  2. #2
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts