Re: Building a kernel-source RPM (not a kernel RPM)?

From: Bernd Petrovitsch
Date: Wed Sep 12 2007 - 14:23:24 EST


On Wed, 2007-09-12 at 20:16 +0200, Sam Ravnborg wrote:
> >
> > But we are talking[0] about a kernel-source-$VERSION.$ARCH.rpm's which
> > contain
> > the kernel sources (read: lots of .c and .h files, etc.) - including a
> > matching
> > .config and after `make oldconfig` - so that one can build out-of-tree
> > modules
> > after installing it with "KSRC=" (or whatever the Makefile parameter is
> > usually called).
> You need certain things of the kernel built before you can build
> external modules (if they use a sane build approach).
> Just including the .config with the kernel source is far from enough.

ACK.
That all must be done/prepared correctly for the kernel-source-*.rpm.
And nobody said it is trivial or easy.

Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/