Re: 2.6: xfs is rebuilt on every .config change

From: Sam Ravnborg
Date: Sun Jan 15 2006 - 04:52:44 EST


On Sun, Jan 15, 2006 at 12:26:46PM +0300, Andrey Borzenkov wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> This happened for a long time, actually in late 2.5.x (that I have started
> with). Every time I make some changes to config - or simply do make oldconfig
> - - xfs is rebuilt. This happens when there are *no* changes related to xfs
> alltogether. E.g. I now applied 2.6.15.1 patch and xfs got rebuilt again.

The xfs source files do:
#include <version.h>
To gain access to actual kernel release.

So each time you do a change to the tree that causes version.h to be
updated the xfs source files will be recompiled.

Note that version.h includes "UTS_NAME" - unfortunately.
So you will see version.h being updated rather often if you have enabled
the "Automatically append version information to the version string" in
the "General Setup" menu.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/