public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: mmarek@suse.cz, linux-kbuild@vger.kernel.org,
	linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com
Subject: [GIT] kbuild setlocalversion fix
Date: Fri, 2 Jul 2010 14:10:21 +0200	[thread overview]
Message-ID: <20100702121021.GA10458@sepie.suse.cz> (raw)

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(-)

             reply	other threads:[~2010-07-02 12:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02 12:10 Michal Marek [this message]
2010-07-07  0:07 ` [GIT] kbuild setlocalversion fix H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100702121021.GA10458@sepie.suse.cz \
    --to=mmarek@suse.cz \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox