On Wed, Dec 25, 2002 at 01:48:01PM +0100, Michael Schwendt wrote: > On Wed, 25 Dec 2002 00:27:14 -0500, Michael H. Warfield wrote:
> > Bad day... Bad week, and more... Last several kernel updates
> > from RedHat have been impossible to use to build custom kernel builds.
> >
> > I swear I must be doing something fundamental wrong but a
> > proceedure
> > I've been using to build custom kernels from the RedHat kernel source
> > rpm just isn't working any more (and a backup proceedure is even
> > worse).
> >
> > I need a custom kernel to add some options and add some drivers
> > (usbvision for one - mods to a kernel driver I MAINTAIN for another).
> > The proceedure I HAVE been using is to install the kernel "source" RPM
> > from the install CD's and then gone to /usr/src/linux-2.4 and copied
> > the appropriate configs/kernel{whatever} to .config and then "make
> > oldconfig ; make deps clean bzImage ; make modules" etc... Worked
> Drop "make clean" because it is obsolete. Change "make deps" to
> "make dep". And execute "make mrproper" once at the very beginning.
No harm from the "make clean". I'm in that habit since having been
a kernel developer and driver maintainer from the olden days (0.x days, my
first distro was SLS). There never WAS a need for it when building a
fresh build, anyways, and defeated some of the purpose of "makefiles".
But, there was a time when the dependencies couldn't be fully trusted so
I'm in the habit. I'll just forget about it...
That "make deps" was obviously a typo or it wouldn't have gotten
even that far! (No target for "deps" so it would have blown up immediately.)
Only ran "make mrproper" once, so that checks.
> > I also tried doing a "make mrproper" followed by a "make
> > xconfig"
> > where I "loaded" a "configs/kernel-2.4.18-i386.config" config file and
> > saved it. That was even WORSE! Then I couldn't even build bzImage!
> > That blew up with this error:
> Which is a known one somewhere in bugzilla. Don't use "make xconfig",
> but "make menuconfig" which doesn't suffer from that error.
Funny... That seems to work perfectly fine with the stock kernel
tarballs. I know that were WAS a problem with a couple of rev clicks,
but I haven't seen any problems with it. But noted and will be double
checked and verified.
Mike
--
Michael H. Warfield | (770) 985-6132 | [EMAIL PROTECTED]
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
msg100144/pgp00000.pgp
Description: PGP signature
