
19
For 2.4 Kernels:
# make dep
For 2.6 Kernels:
# make prepare
3.4.2 SuSE
The following section lists SuSE distribution specific details. While the exact keystrokes
may vary slightly from release to release, the following are offered as guidelines for these
distributions.
3.4.2.1
SuSE Package Selection
During the system installation, ensure that the following packages are selected to be installed:
ssh
and/or
rsh
,
make
,
g77
,
gcc-c++
,
glibc
(both the
shared libs
and
glibc-
devel
packages), and
kernel
(verify
kernel-source
is selected and
kernel-syms
if available).
When installing a 64-bit system, add the following
glibc
packages:
glibc 32-bit
shared libs
and
glibc
32bit devel packages
.
3.4.2.2
SuSE Kernel Source Tree Preparation
First ensure the system has a clean source tree by doing a
make mrproper
:
# cd /usr/src/linux
# make mrproper
Next, edit the
Makefile
so that the version value matches the running kernel. By default,
the variable
EXTRAVERSION
includes the string
custom
. Change this variable to match
the running kernel. The running kernel version can be found using
uname –r
. For
example, modify
-15.ELcustom
to
-15.ELsmp
.
After that, initialize the
.config
file for your system. This can be accomplished with the
following:
# cd /usr/src/linux
# make cloneconfig
# make oldconfig
Finally, execute the kernel dependent target to update configuration files and rebuild the
source dependencies.
For 2.4 Kernels:
# make dep