Re: kbuild: Unnecessary recompiles on path change

From: Jan Engelhardt
Date: Thu Sep 11 2008 - 14:08:10 EST

On Wednesday 2008-09-10 16:15, Jan Engelhardt wrote:

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

It seems that only ARCH=um builds have this issue.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at