is kernel compilation supposed to change header file timestamps?
I noticed the other day that on a kernel compile, the timestamps of some files are changed. The funny thing is that all the changed ones are header files, but not all header files are modified.
Is this expected behaviour?
Chris
Signature · 4 lines
Chris Friesen | MailStop: 043/33/F10 Nortel Networks | work: (613) 765-0557 3500 Carling Avenue | fax: (613) 765-2986 Nepean, ON K2H 8E9 Canada | email: [email protected]
Quoted 6 lines · Chris Friesen
I noticed the other day that on a kernel compile, the timestamps of some files are changed. The funny thing is that all the changed ones are header files, but not all header files are modified.
Is this expected behaviour?
Yes, it has to do with how dependencies are propagated from header file to header file (i.e. where a header file includes another). Or, at least, I think this is what is going on.
Signature · 5 lines
George Anzinger [email protected] High-res-timers: http://sourceforge.net/projects/high-res-timers/ Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml
Quoted 5 lines · Chris Friesen
I noticed the other day that on a kernel compile, the timestamps of some files are changed. The funny thing is that all the changed ones are header files, but not all header files are modified.
Is this expected behaviour?
I assume you are compiling a 2.4 kernel, in which case this is expected behaviour.
For the 2.5 kernel kbuild has been changed such that
header files are no longer 'touched' during the compile process.
Sam