Re: [rock-user] Compilation of a static kernel
Stefan Fiedler <[email protected]> Mon, 31 Oct 2005 19:58:42 +0200
| Newsgroups | gmane.linux.distributions.rock.user |
|---|---|
| Message-ID | <[email protected]> |
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. Yours sincerely, Stefan Fiedler