kbuild: support mercurial in setlocalversion
This represents mercurial changesets similarly to git. For untagged revisions, append the changeset id. If there are uncommitted changes, append -dirty. For example, -hgc60016ba6237-dirty Signed-off-by: NAron Griffis <aron@hp.com> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
Showing
想要评论请 注册 或 登录