Re: make dep

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

 



"suresh ds" <dssuresh66@xxxxxxxx> writes:

>    1) while compiling the 2.4 kernel, there was a step called "make
>    dep" ,    'dep' means dependencies. What is meant by 'dependencies'
>    here? why was it needed?

Sometimes one part of the kernel depends upon another.  For example, a
C file (e.g., foo.c) that includes a header file (foo.h) depends upon
that header file.  If foo.h changes, then you need to recompile
foo.c.

>    2) In 2.6, that step has been done away with ie. there is no "make
>    dep". Why was it removed in 2.6?

The 2.6 kernel has an improved build system that makes the "make dep"
step, which I remember as being unreliable anyway, obsolete.

See "Documentation/kbuild".

-- 
  Ed L Cashin <ecashin@xxxxxxxxxx>


--
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