Thread (6 messages) 6 messages, 4 authors, 2016-07-31

Minimul Config file for Dev Environment

From: Jitendra <hidden>
Date: 2016-07-31 10:24:07

Hi Aruna,

Thanks for descriptive reply. I tried the below steps, but still localmodconfig ask for lots of
configurations, which probably I don't want.

Could you please give some suggestion, that make <config> commands could
be execute without giving any input along with minimual property.

PS: I am using Ubuntu Server 16.04.

---
Jitendra


On 07/30, Aruna Hewapathirane wrote:
quoted
Hi Folks,
quoted
I usually compile the linux kernel by copying current system .config
file. But the
quoted
problem it compile bunch things that I don't which is required. My aim
is setup filesystem environmrnt setup on my laptop.
quoted
Could somebody point the minimal .config file that will save from me
reading all the options and compile the kernel quickly and test it.
1 - Plug in and turn on *all* your external devices, this step is to ensure
that
    the laptop kernel loads all the required modules for your devices.

2 - On the laptop run:
    lsmod > /tmp/jitendra-laptop

    This will store the currently loaded modules in the laptop to the file:
    /tmp/jitendra-laptop

3 - Pass it in as a LSMOD parameter to make:
    make LSMOD=/tmp/jitendra-laptop localmodconfig

4 - Done !

5 - Install ccache. It will improve your build time dramatically. It caches
objects. So it will reduce subsequent builds.

Some interesting history about localmodconfig is here:
http://www.h-online.com/open/features/Good-and-quick-kernel-configuration-creation-1403046.html

Good luck - Aruna
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help