An error occurred fetching the project authors.
  1. 18 Jun, 2010 1 commit
    • Michal Marek's avatar
      kbuild: Clean up and speed up the localversion logic · 09155120
      Michal Marek authored
      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: default avatarDmitry 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: default avatarMichal Marek <mmarek@suse.cz>
      09155120
  2. 14 Jun, 2009 1 commit
  3. 19 May, 2009 1 commit
  4. 01 May, 2009 1 commit
  5. 11 Apr, 2009 1 commit
  6. 15 Feb, 2009 1 commit
  7. 03 Dec, 2008 2 commits
  8. 29 Oct, 2008 2 commits
  9. 25 Jul, 2008 1 commit
  10. 03 Feb, 2008 1 commit
  11. 28 Jan, 2008 4 commits
  12. 16 Jun, 2006 2 commits
  13. 08 Jan, 2006 1 commit
  14. 06 Jan, 2006 1 commit
    • Rene Scharfe's avatar
      kbuild: Use git in scripts/setlocalversion · 117a93db
      Rene Scharfe authored
      Currently scripts/setlocalversion is a Perl script that tries to figure
      out the current git commit ID of a repo without using git.  It also
      imports Digest::MD5 without using it and generally is too big for the
      small task it does. :]  And it always reports a git ID, even when the
      HEAD is tagged -- this is a bug.
      
      This patch replaces it with a Bourne Shell script that uses git
      commands to do the same.  I can't come up with a scenario where someone
      would use a git repo and refuse to install git core at the same time,
      so I think it's reasonable to assume git is available.
      
      The new script also reports uncommitted changes by adding -git_dirty to
      the version string.  Obviously you can't see from that _what_ has been
      changed from the last commit, so it's more of a reminder that you
      forgot to commit something.
      
      The script is easily extensible: simply add a check for Mercurial (or
      whatever) below the git check.
      
      Note: the script doesn't print a newline char anymore.  That's only
      because it was easier to implement it that way, not a feature (or bug).
      'make kernelrelease' doesn't care.
      Signed-off-by: default avatarRene Scharfe <rene.scharfe@lsrfire.ath.cx>
      Acked-by: default avatarRyan Anderson <ryan@michonline.com>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      117a93db
  15. 10 Aug, 2005 1 commit