epike on Thu, 27 Feb 2003 11:10:35 -0500


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

Re: [PLUG] how kernel compiling works


are you using "make config" or "make menuconfig"?
there is also a "make xconfig"

sounds like you are using "make config" !

if memory serves:

0. make mrproper (will wipe out your .config)

1. make menuconfig
2. make dep
3. make -j 4 bzImage (-j = number of jobs/whatever you like)
4. make modules
5. make modules_install
6. do something with bzImage / lilo (save your old kernel!)
7. reboot 
8. cycle to 1 until satisfied


jondz


> 
> Jesus F. Christ!  There *has* to be a better way!!!  I just sat here for a 
> GD hour answering all those f***ing prompts to recompile the kernel.
> 
> I know that recompiling the kernel is no small matter.  But holy shit, when 
> you make bzImage you ought to be able to do all the config of what to 
> include in the kernel (and how) by some mass table of info, instead of 
> choosing every single thing at a GD prompt!
> 
> Ok, my earlier idea of recompiling "as is" clearly doesn't fit with the way 
> the Linux kernel is set up to compile (at least not by the procedure at 
> http://www.europe.redhat.com/documentation/HOWTO/Kernel-HOWTO-2.php3). 
> Every time you recompile, you have to pick every f***ing section of 
> reconfigurable code at a prompt - that is, for every section of 
> reconfigurable code, you have to pick y, n, or m.  That's not 100% 
> accurate, since some sections only allow two of the three options.  I 
> assume y means "Yes, compile this into the kernel", n means "No, don't 
> support this", and m means "allow this to be loaded as a Module".
> 
> Somebody please correct me if I'm wrong.
> 
> And somebody *please* tell me if there's a better way available to pick 
> what gets compiled in and what doesn't!
> 
> Thanks,
> Wayne
>

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug