summaryrefslogtreecommitdiffstats
path: root/source/k/README.TXT
blob: b948964938fbb55820405b1d5e6c5eb377fe0ed9 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Since I should document this somewhere, here's the procedure
for building the Slackware kernel package.  I do not patch the official
kernel sources, but it's not exactly a virgin either.

=============================================================
Version specific notes (if any):
=============================================================
  
For a 2.6.x kernel (much easier):

   Untar Linus' source in /usr/src.
   Make all files owned by root:root with reasonable perms.
   Install a suitable .config, or use make menuconfig, etc.

   An example would be to use one of the config files here:
   # cat config-generic-3.2.29 > /usr/src/linux-3.2.29/.config

   Then run the build programs:

   make oldconfig
   make bzImage
   make clean
   make prepare
   rm .version

That's it!  You now have a clean Slackware-configured Linux source
tree.

The kernel in Slackware supports SMP.  With as common as
multicore CPUs and SMP boards have become, this seemed like the
obvious choice.  The kernels are probably better for single CPU
machines, too, if they will run them.

At this point if you are running huge.s or generic.s, you should have
no problems building kernel modules.
 
Have fun! :-)

Pat