Using same .config on different machines

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Tue Aug 27 10:02:48 EDT 2013


On Tue, 27 Aug 2013 16:15:20 +0530, Arun M Kumar said:
> Is it OK to use same .config file on different machines.

As long as the .config includes all the moduled needed for all the machines
in question.  That's basically what a distro kernel does - include all
the drivers for all supported hardware, and that's why a distro will usually
boot on damn near anything.

> I had a Dell Optiplex running OpenSuSE 11.3, KV: 2.6.32 for development 
> purpose during my college days,
> can i use the same config file now on KV: 3.9.10

You really want to do a 'make oldconfig' to update it for all the config
variables that got added/changed between .32 and 3.9.

> The command
> $ make -j 8
> completed sucessfully but
> 
> #make modules_install
> 
> gives the following error
> 
> -------------------------------------------------------------
> ln: target ‘Drivers/source’ is not a directory

That looks suspiciously like in fact the build did *not* complete successfully.

If you do a *second*  'make' - does it attempt to rebuild anything?  Often an
error message will scroll away un-noticed.;

And I'm not sure where it got 'Drivers/source' from, that sounds like a busted
build or install environment.  You didn't have any M= or O= variables that you didn't
tell us about, did you?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130827/f899b438/attachment.bin 


More information about the Kernelnewbies mailing list