kbuild: Unnecessary recompiles on path change

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <sam@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Date: Wednesday, September 10, 2008 - 4:15 pm

Hi,


I notice that my kernels get needlessy recompiled if I access the source 
tree through a different directory. In other words, /lo/linux is the 
kernel tree, and `mount --bind /lo /home/jengelh/lo` is in effect.

I see the absolute path being stored in .*.o.cmd files, which seems like 
all the explanation I need. I do remember that I left a comment 
when something like that was afloating:
http://www.nabble.com/-RFC-PATCH-3-6--kbuild:-convert-include-and-source-paths-td17064...

As of v2.6.27-rc4-263-g5697a99, there's no gcov in (at least there is no 
such thing in my .config when bulit with ARCH=um), but the issue with 
absolute paths exists.


Jan
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
kbuild: Unnecessary recompiles on path change, Jan Engelhardt, (Wed Sep 10, 4:15 pm)
Re: kbuild: Unnecessary recompiles on path change, Jan Engelhardt, (Thu Sep 11, 2:07 pm)