public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* move KERNEL_VERSION define, changing CONFIG_LOCALVERSION rebuilds too many files
@ 2005-07-06 19:42 Olaf Hering
  0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2005-07-06 19:42 UTC (permalink / raw)
  To: linux-kernel


changing the CONFIG_LOCALVERSION string will trigger a rebuild of way
too many files, for no good reason. Looking over 2.6.13-rc2, almost no
#include <linux/version.h> is valid.

a few drivers need the KERNEL_VERSION macro to define their own version.
Unfortunately, this macro is in linux/version.h.
Where should I move/copy this simple macro? uts.h, utsname.h, kernel.h?

example users:

include/media/saa7146.h
drivers/media/video/bttvp.h
drivers/media/video/cx88/cx88.h
drivers/media/video/saa7134/saa7134.h
drivers/video/matrox/matroxfb_base.c



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-06 20:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06 19:42 move KERNEL_VERSION define, changing CONFIG_LOCALVERSION rebuilds too many files Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox