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

posted @ 2021-02-05 13:37  hutian  阅读(267)  评论(0编辑  收藏  举报