Skip to content
  • 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