From mboxrd@z Thu Jan 1 00:00:00 1970 From: rpjday@crashcourse.ca (Robert P. J. Day) Date: Sun, 27 Dec 2015 15:01:54 -0500 (EST) Subject: how to reduce both vmlinuz size and modules? In-Reply-To: <108290.1451157374@turing-police.cc.vt.edu> References: <108290.1451157374@turing-police.cc.vt.edu> Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 ========================================================================