[NLUUG]   Welcome to ftp.vim.org,
Hosted by ftp.nluug.nl
Current directory: /pub/ftp/ftp/ibiblio/distributions/slack390/slack390-9.1/patches/source/linux-2.4.26/
Contents of README:
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.4.x kernel:

1.  Untar Linus' source in /usr/src.
2.  mv linux linux-2.x.x (version number)
3.  cp -a linux-2.x.x linux-2.x.x.orig
4.  ln -sf linux-2.x.x linux
5.  cd linux

Insert Slackware's bare.i config:
6.  cp kernels/bare.i/config .config
7.  make oldconfig
8.  make dep ; make clean ; make bzImage ; make clean
9.  cd drivers/net/hamradio/soundmodem
    rm *
    cp -a /usr/src/linux-2.x.x.orig/drivers/net/hamradio/soundmodem/* .
10.  cd scripts
     rm -r *
     cp -a /usr/src/linux-2.x.x.orig/scripts/* .
11.  rm -r linux-2.x.x.orig
12.  rm linux-2.x.x/.version
13.  Lucky step 13  :-)
     find . -name ".depend" | xargs rm
     find . -name ".hdepend" | xargs rm
     find . -name ".??*flags" | xargs rm
     rm drivers/sound/.pss_boot.h.boot
     rm drivers/sound/.maui_boot.h.boot
     rm drivers/sound/.trix_boot.h.boot
     rm .config.old

OK, that's it.  Now just pack up /usr/src/linux-2.x.x, the 
/usr/src/linux symlink, and /install/slack-desc.

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.
   make oldconfig > /dev/null
   make bzImage
   make clean
   rm .version

That's it!
  

Icon  Name                                                                     Last modified      Size  
[DIR] Parent Directory - [   ] CAN-2004-0554.i387.fnclex.diff.gz 15-Jun-2004 03:11 250 [TXT] README 13-Jun-2004 01:45 1.6K [   ] linux-2.4.26.tar.bz2 14-Apr-2004 15:07 29M [   ] linux-2.4.26.tar.bz2.sign 14-Apr-2004 15:07 248 [TXT] prototype 21-Jul-2004 21:46 2.7K [TXT] prototype.kernel-headers 03-Jul-2004 00:54 704 [   ] s390-linux-2.4.26-june2003.diff.gz 28-May-2004 07:53 477K [   ] s390-linux-2.4.26.debian.fixes.diff 28-May-2004 07:54 1.6K [   ] s390.default.2.4.26.config 03-Jun-2004 06:20 11K [TXT] s390.slack-desc.diff 21-Jul-2004 21:38 568 [TXT] slack-desc 08-Mar-2003 21:58 781

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!