Recently I was asked about the following:
"I am trying to understand more about the "make" command and its
targets. For instance, when one wants to configure the kernel you would
run "make xconfig" then "make depmod" then"make modules", etc. The point
is that the LPI has depmod listed as one one of the "make" targets. I
have not been able to find any documentation on the depmod target of
make as opposed to the program depmod which I understand well already.
Furthermore, I have not seen in any forum or tutorial "make depmod"
being used. Instead I see "make dep". Are these synonomous? This is the
real question I have. What is the difference and if any, why is "make
dep" so popular while "make depmod" is practically unused?"

My answer was that it seems this is left over from earlier kernels and
that 2.6 actually has in /usr/src/linux/Makefile that "make dep" and
"make depend" are not used. What should be used are "make modules" or
"make modules_install" which then call depmod as needed.

So my question is:

What kernels used "make depmod"?

Feel free to expand on this area as we can use all the insight we can
get.

-- 
Mark Miller
Program Manager
Exam Development Level 1
Linux Professional Institute

_______________________________________________
lpi-examdev mailing list
lpi-examdev@lpi.org
http://list.lpi.org/mailman/listinfo/lpi-examdev

Reply via email to