Linux/U-boot version with "-dirty"

Linux kernel images are being built with "-dirty" on the end of the version string:

1. add .scmversion file 

content is the version name

2. compile append flag : make -j2 LOCALVERSION="-customstring" to get the custom string

rebooting...
原文地址:https://www.cnblogs.com/hutiann/p/14377240.html