]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Clean up and speed up the localversion logic
authorMichal Marek <mmarek@suse.cz>
Thu, 17 Jun 2010 13:14:58 +0000 (15:14 +0200)
committerMichal Marek <mmarek@suse.cz>
Fri, 18 Jun 2010 12:23:21 +0000 (14:23 +0200)
commit35a8759fa45e1d140d27986a2b92ee18e6610d3f
tree1730bcdec93da248f0019ee2924828e996be2894
parent5d3de336c7c7a88e043e03a8f7517919de46c0d5
kbuild: Clean up and speed up the localversion logic

Now that we run scripts/setlocalversion during every build, it makes
sense to move all the localversion logic there. This cleans up the
toplevel Makefile and also makes sure that the script is called only
once in 'make prepare' (previously, it would be called every time due to
a variable expansion in an ifneq statement). No user-visible change is
intended, unless one runs the setlocalversion script directly.

Reported-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Nico Schottelius <nico-linuxsetlocalversion@schottelius.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile
scripts/package/Makefile
scripts/setlocalversion