Don't add “+” to linux kernel version

后端 未结 4 1856
星月不相逢
星月不相逢 2020-12-13 00:38

I am building linux kernel, if my kernel under git, then kernel version every time is:

Image Name:   Linux-2.6.39+

If I am not using git, t

4条回答
  •  余生分开走
    2020-12-13 01:01

    Manipulating scripts/setlocalversion seems to be the only way for me. Force return in scm_version():

    scm_version()
    {
            local short
            short=false
            **return**
    

提交回复
热议问题