Re: kernel tree "diff -urN" anomaly?

From: Sam Ravnborg
Date: Fri Dec 03 2010 - 15:47:18 EST


On Fri, Dec 03, 2010 at 02:49:03PM -0500, Mark Hounschell wrote:
> I start with two clean identical 2.6.36.1 kernel trees (different names
> of coarse). I build one of them. I then do a "make clean mrproper" in
> the tree I built. Why then does the diff command in the subject line
> find the following files changed?
>
> drivers/gpu/drm/radeon/evergreen_reg_safe.h
> drivers/gpu/drm/radeon/r100_reg_safe.h
> drivers/gpu/drm/radeon/r200_reg_safe.h
> drivers/gpu/drm/radeon/r300_reg_safe.h
> divers/gpu/drm/radeon/r420_reg_safe.h
> drivers/gpu/drm/radeon/r600_reg_safe.h
> drivers/gpu/drm/radeon/rn50_reg_safe.h
> drivers/gpu/drm/radeon/rs600_reg_safe.h
> drivers/gpu/drm/radeon/rv515_reg_safe.h

Files are generated during the build.
So after you have build your kernel the files are present.
And the Makefile is missing logic to delete the files during "make clean".

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/