lkml.org 
[lkml]   [2004]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kbuild: Support LOCALVERSION
On Wed, Sep 01, 2004 at 11:24:22AM +1000, Ian Wienand wrote:

> Sorry to reply to myself, but I forgot to include a suggested patch
> (attached).
>
Thanks for the fix.

> @@ -763,7 +770,7 @@
> )
> endef
>
> -include/linux/version.h: Makefile
> +include/linux/version.h: $(srctree)/Makefile $(localversion-files)
> $(call filechk,version.h)
>

We could just make this:
include/linux/version.h: FORCE
$(call filechk,version.h)

Then version.h would be updated also if LOCALVERSION is specified on
the command line.
Only issue is that it will always be checked - but the same goes for
a few other files.

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

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.030 / U:1.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site