Subject: Re: [PATCH] Allow building iwl3945 without iwl4965.

From: Bill Fink <[email-masked]>
Date: Wed, 30 Apr 2008 00:46:05 -0400

On Tue, 29 Apr 2008, David Miller wrote:

> From: Zhu Yi <[email-masked]>
> Date: Wed, 30 Apr 2008 10:31:07 +0800
> 
> > On Tue, 2008-04-29 at 19:17 -0700, David Miller wrote:
> > > The build number increments every time you make.
> > > 
> > > That's where the "#nn" in the uname output comes from.
> > 
> > Well, if nothing is changed, why it tries to recompile the image? IIRC,
> > we don't have this problem in early kernels.
> 
> Something did change, the build number in the header file.

It doesn't do it in 2.6.22:

[root@lang2 linux-2.6.22.9-foo]# pwd
/home/extra/usr/src/kernels/linux-2.6.22.9-foo

[root@lang2 linux-2.6.22.9-foo]# strings - vmlinux | grep 'Linux vers'
Linux version 2.6.22.9-mf1 ([email-masked]) (gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)) #4 SMP Wed Apr 30 00:37:52 EDT 2008

[root@lang2 linux-2.6.22.9-foo]# make
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  MODPOST vmlinux
Kernel: arch/x86_64/boot/bzImage is ready  (#4)
  Building modules, stage 2.
  MODPOST 1605 modules

[root@lang2 linux-2.6.22.9-foo]# strings - vmlinux | grep 'Linux vers'
Linux version 2.6.22.9-mf1 ([email-masked]) (gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)) #4 SMP Wed Apr 30 00:37:52 EDT 2008

This is as it should be I would think.

						-Bill