Skip to contentSkip to conversation

kernel tree "diff -urN" anomaly?

DISCUSSION Mark Hounschell 2 participants 3 messages Dec 3, 2010

lore
Share & tools
lore
#0 lore raw

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

Thanks
Mark

#1 lore raw
Quoted 5 lines · Mark Hounschell

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?

Quoted 9 lines

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

#2 lore raw
Quoted 16 lines · Sam Ravnborg
Quoted 5 lines · Mark Hounschell

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?

Quoted 9 lines

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

Quoted 4 lines

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

OK, broken Makefile then

Thanks
Mark