how to reduce both vmlinuz size and modules?
Robert P. J. Day
rpjday at crashcourse.ca
Sun Dec 27 15:01:54 EST 2015
On Sat, 26 Dec 2015, Valdis.Kletnieks at vt.edu wrote:
> On Sat, 26 Dec 2015 10:39:04 -0500, "Robert P. J. Day" said:
>
> > if i start with the latest git kernel repo, it *looks* like i can
> > use the /boot/config-4.2.8-200.fc22.x86_64 config file as a starting
> > point, copy it in as .config, then:
> >
> > $ make allmodconfig
> > $ make localmodconfig
>
> How much simpler could you make it? :)
>
> The place you're most likely to screw it up is to forget to plug in
> all your USB and other widgets at least once before the 'make
> localmodconfig' to make sure they get modprobed.
>
> As a practical matter, if 'make allmodconfig' had slightly different
> semantics, we could do better. 'allmod' has semantics of 'turn on
> every possible =m'. If there were a semantic of 'convert as many
> existing =y into =m, but *don't* convert =n into =m', we could do
> this and it would almost certainly be faster.
yeah, that's definitely what i'm after. i see no immediate way to
fake or emulate that.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Kernelnewbies
mailing list