Skip to content
Snippets Groups Projects
  1. Aug 28, 2014
  2. Dec 13, 2013
    • Masahiro Yamada's avatar
      Makefile: Move some scripts imported from Linux · dd88ab32
      Masahiro Yamada authored
      
      We have some scripts imported from Linux Kernel:
      setlocalversion, checkstack.pl, checkpatch.pl, cleanpatch
      
      They are located under tools/ directory in U-Boot now.
      But they were originally located under scripts/ directory
      in Linux Kernel.
      
      This commit moves them to the original location.
      
      It is true that binutils-version.sh and dtc-version.sh
      do not originate in Linux Kernel, but they should
      be moved by analogy to gcc-version.sh.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      dd88ab32
  3. Dec 17, 2011
    • Kyle Moffett's avatar
      tools/setlocalversion: Update from the Linux Kernel · a7b39185
      Kyle Moffett authored
      
      Several bugfixes have occurred upstream since this script was imported
      into U-Boot.  In particular, the script currently in U-Boot does not
      describe commit f8bbb4da correctly,
      resulting in a version of "2011.09" instead of "2011.09-01460-gf8bbb4d".
      
      With that commit checked out, the command "git name-rev --tags HEAD"
      gives this result:
        HEAD tags/v2011.12-rc1~30^2
      
      Then the "changes" regex does not match because of the trailing '^2':
        grep -E '^HEAD[[:space:]]+(.*~[0-9]*|undefined)$'
      
      The new version of tools/setlocalversion in the kernel correctly handles
      those situations by using different plumbing commands.
      
      The version from the kernel is not directly usable as it does not append
      the full GIT version that U-Boot expects unless the right config options
      are set (CONFIG_LOCALVERSION_AUTO=y).  Other than a few minor changes
      for Kconfig, the imported version is very similar to Linux v3.2-rc4.
      
      Signed-off-by: default avatarKyle Moffett <Kyle.D.Moffett@boeing.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      a7b39185
  4. Sep 21, 2010
  5. Apr 04, 2009
  6. Apr 18, 2008
  7. Mar 14, 2008
    • Wolfgang Denk's avatar
      tools/setlocalversion: use a git-describe-ish format · b8aa57b5
      Wolfgang Denk authored
      
      Change the automatic local version to have the form -nnnnn-gSHA1SUMID,
      where 'nnnnn' is the number of commits since the last tag (i.e.,
      1.3.2-rc3).  This makes it much easier to recognize "newer" versions
      and to see how much has been changed since the referenced tag.
      
      Stolen from Linux kernel's scripts/setlocalversio, see commit d882421f.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      b8aa57b5
  8. Feb 21, 2006
    • Wolfgang Denk's avatar
      Add GIT version information (commid ID) to untagged U-Boot versions · 881a87ec
      Wolfgang Denk authored
      As done in the linux kernel, the U-Boot version (U_BOOT_VERSION)
      of all unreleased (untagged) U-Boot images will be automatically
      extended upon compiletime with a part of the GIT commit ID and
      possibly with "dirty" if uncommited changes are detected.
      
      Here an example for the resulting version:
      "U-Boot 1.1.4-g3457ac18-dirty"
      
      The version is now maintained in the toplevel Makefile and the
      version headers are autogenerated.
      
      Patch by Stefan Roese, 9 Feb 2006
      881a87ec
Loading