Exploring the Linux Source Code

If you want to study what makes the Linux operating system tick, the pleasure can be yours!

The source code for Linux is in the subdirectories of /usr/src/linux-2.2.5. You'll find the source code for the Linux kernel in /usr/src/ linux-2.2.5/kernel.

A make file is used to set compilation options and tell the compiler what modules and libraries should be compiled together.

To view the Linux kernel make file:

  • Using a text editor, open the file makefile in the /usr/src/linux-2.2.5/kernel directory (Figure 12.25).
    Figure 12.25. You can view the make file used to compile the Linux kernel.

    Tip

    By viewing the make file, ...

Get Red Hat Linux 6: Visual QuickPro Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.