* [GIT] kbuild setlocalversion fix
@ 2010-07-02 12:10 Michal Marek
2010-07-07 0:07 ` H. Peter Anvin
0 siblings, 1 reply; 2+ messages in thread
From: Michal Marek @ 2010-07-02 12:10 UTC (permalink / raw)
To: Linus Torvalds; +Cc: mmarek, linux-kbuild, linux-kernel, dmitry.torokhov
Hi Linus,
There is a fix to the Makefile not to run scripts/setlocalversion and
various git commands on every invocation. This was also the case
previously with CONFIG_LOCALVERSION_AUTO=y, but after 85a256d (kbuild:
improve version string logic) it happens during every build. Dmitry
Torokhov complained that make install in a sshfs-mounted tree takes
extremely long, it also goes against the idea that root should only run
the necessary minimum of commands. The first patch has been in
linux-next for a couple of days and I got no complaints, the second one
is just a minor fix over it and should be safe.
Michal
The following changes since commit d5eda75f3a6a08f5a3644764a88d288e62e7823d:
kbuild: fix LOCALVERSION handling to match description (2010-06-15 12:45:40 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6.git rc-fixes
Michal Marek (3):
kbuild: Clean up and speed up the localversion logic
kbuild: Propagate LOCALVERSION= down to scripts/setlocalversion
Merge branch 'setlocalversion-speedup' into kbuild/rc-fixes
Makefile | 72 +------------------
scripts/package/Makefile | 2 +-
scripts/setlocalversion | 179 ++++++++++++++++++++++++++++++++++------------
3 files changed, 134 insertions(+), 119 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [GIT] kbuild setlocalversion fix
2010-07-02 12:10 [GIT] kbuild setlocalversion fix Michal Marek
@ 2010-07-07 0:07 ` H. Peter Anvin
0 siblings, 0 replies; 2+ messages in thread
From: H. Peter Anvin @ 2010-07-07 0:07 UTC (permalink / raw)
To: Michal Marek; +Cc: Linus Torvalds, linux-kbuild, linux-kernel, dmitry.torokhov
On 07/02/2010 05:10 AM, Michal Marek wrote:
> Hi Linus,
>
> There is a fix to the Makefile not to run scripts/setlocalversion and
> various git commands on every invocation. This was also the case
> previously with CONFIG_LOCALVERSION_AUTO=y, but after 85a256d (kbuild:
> improve version string logic) it happens during every build. Dmitry
> Torokhov complained that make install in a sshfs-mounted tree takes
> extremely long, it also goes against the idea that root should only run
> the necessary minimum of commands. The first patch has been in
> linux-next for a couple of days and I got no complaints, the second one
> is just a minor fix over it and should be safe.
>
Building 2.6.35-rc4 with O= I get a bunch of:
/bin/sh: scripts/setlocalversion: No such file or directory
-hpa
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-07 0:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-02 12:10 [GIT] kbuild setlocalversion fix Michal Marek
2010-07-07 0:07 ` H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox