Skip to Content
Linux Desktop Hacks
book

Linux Desktop Hacks

by Nicholas Petreley, Jono Bacon
March 2005
Beginner to intermediate
342 pages
15h 55m
English
O'Reilly Media, Inc.
Content preview from Linux Desktop Hacks
Compile a Kernel #88
Chapter 10, Kernel
|
265
HACK
An alternative is to keep the linux-x.x.x directory and instead create a sym-
link called linux to point to it:
foo@bar:~$ ln –s linux-x.x.x linux
This enables you to keep multiple source trees on your machine and just
change the symlink to point to whichever is your current tree. It also helps
you remember which version of the source you are working with.
A number of different kernel source code trees (in addition
to the official one) are available. Each contains official ker-
nel source code that has been tweaked and modified by
someone to achieve a specific goal, such as increased hard-
ware support or system performance improvements. “Use
CKO to Make Your Desktop Go to 11”
[Hack #90] has more
information about these alternate kernel sources. The steps
in this hack are directly applicable to alternate kernel
sources.
Configure the Code
Before you begin to configure your kernel, first you should ensure that you
have all the software necessary to compile it. This list of requirements is
shown in the README file in /usr/src/linux. If you are satisfied that every-
thing required is installed, you can launch the configuration tool by running
one of the following commands.
make menuconfig
This is for text-based color menus, radio button lists, and dialogs.
make xconfig
This X Windows (Qt)-based configuration tool is available only in the 2.6
kernel series and higher. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones

Publisher Resources

ISBN: 0596009119Catalog PageErrata