Re: [rock-user] Compilation of a static kernel

"Andreas V. Meier" <avmeier-S0/[email protected]> Tue, 8 Nov 2005 16:38:38 +0100
Newsgroups gmane.linux.distributions.rock.user
Message-ID <[email protected]>
On Mon, Oct 31, 2005 at 07:58:42PM +0200, Stefan Fiedler wrote:
> Am Montag 31 Oktober 2005 08:25 schrieb Andreas V. Meier:
> > On Mon, Oct 31, 2005 at 07:48:31AM +0100, Benjamin Schieder wrote:
> > > Alan J.Wylie wrote:
> > > > On Sun, 30 Oct 2005 10:37:16 +0100, Blacky <[email protected]> said:
> > > >>I would like to create a static kernel.
> > > >
> > > > To build a kernel with a custom .config, the best thing to do is to
> > > > create a new target.
> > >
> > > That's not quite correct. The easiest way is to just create the
> > > configuration with scripts/Config, select "Custom Linux Kernel
> > > Configuration" and then just dump the .config into
> > > config/<configname>/linux.cfg.
> >
> > I think this approach will not work, as in the .config unselected
> > values are commented out. The linux.cfg get's appended to the
> > automatically generated .config, so values just commented out in the
> > linux.cfg will keep the value as specified in the .config.
> >
> 
> It works if you also select 'Do not perform any automatic kernel 
> configuration' in the Linux kernel menu of ./scripts/Config. Then 
> config/<configname>/linux.cfg will be used as the kernel .config without 
> modifications.
 
I have just tried to copy a .config as linux.cfg. scripts/Config dies with 
"unknown return code: 126" when entering the Linux Kernel submenu.

Building may work though.

Ciao

Andreas

_______________________________________________
rock-user mailing list
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-user
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFDcMZ+2A9/vRi9PS4RAgBjAJ9yV9maZt9cqjNMt7uG93Hcf2BeAQCcDkZY
CFnxqddIs7+wA/fVHKVswrw=
=GSbl
-----END PGP SIGNATURE-----