RE: make dep

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

 



On Mon, Jun 16, 2003 at 12:17 PM, Jurgens du Toit wrote:
> 
> Could someone explain the use of
> 
You didn't mention make "menuconfig" (or xconfig or config or 
oldconfig). You need to do one of these first to create/update your 
.config file and to create a few header files that are needed by 
the make bzImage.

> make dep

Creates files with "what files are included by a particular file" 
info. Used by make to know which files to recompile after you change 
a source file and try to build the kernel and modules again. These 
*.depend files are not removed by make clean. You have to make 
mrproper (Mr. Clean) to really start over. Beware, make mrproper also 
will remove your .config file which you worked so hard on, above.

> make bzImage

Creates a kernel image an compresses it with bzip2.

> make modules

Creates module files for drivers and things that were selected to be 
modules in the .config file, instead of built into the kernel.

> make modules_install

This lobs all of those module files into the directories where the new 
kernel will load them. This path is usually /lib/modules/`uname -r`/...  

This is usually followed by "make install" to lob the new kernel into 
the /boot filesystem. People who have been at this entirely too long 
have been seen doing this step by hand.

> 
> please?
> 
Find your distro's support documentation on the web and read the part 
about rebuilding the kernel. It will save you a lot of grief.

Cheers,

---------------------------------------------------------------- 
Ed Vance              edv (at) macrolink (dot) com
Macrolink, Inc.       1500 N. Kellogg Dr  Anaheim, CA  92807
----------------------------------------------------------------
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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