how to reduce both vmlinuz size and modules?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  currently running latest version of fedora 23, with
4.2.8-200.fc22.x86_64 fedora kernel package, and i'm wondering about
the best way to both reduce the kernel size, and cut down on the
number of modules i'm building, based on what looks like combining a
couple of make targets.

  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

as i read it (and i could be mistaken), the first make would transform
as many "y" kernel selections to "m" as possible, while the second
would then remove any module config selections that are currently not
loaded.

  am i reading that correctly? is there a simpler way to do this?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux