buildroot - how to change kernel version string

后端 未结 2 583
既然无缘
既然无缘 2021-01-13 11:47

I work on SAM9G25 EK board with buildroot and Armstrong linux (Linux4sam). My script is creating linux version \"2.6.39+\" and this \"+\" is confusing (/lib/modules folder e

2条回答
  •  礼貌的吻别
    2021-01-13 12:24

    You have a .config? Look in there for the value assigned to CONFIG_LOCALVERSION.

    To have no local version specifed in the kernel's release, either remove CONFIG_LOCALVERSION or comment it out by starting the line containing it by a #.

    The default shall be:

    #CONFIG_LOCALVERSION is not set
    

提交回复
热议问题