Linuxカーネルのバージョンを変更する方法

Linuxカーネルのバージョンを変更する方法

Linuxカーネルをダウンロードして解凍しました。 unameでバージョン文字列を表示するのに役立つカーネルソースファイルのファイルは何ですか?ドット10.0.5なしでバージョンを10に設定したいと思います。

# uname -r
Linux 10

ベストアンサー1

トップレベルで説明されていますMakefile

例えば、ここから

VERSION = 4
PATCHLEVEL = 5
SUBLEVEL = 0
EXTRAVERSION = -rc6
NAME = Blurry Fish Butt

# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
# More info can be located in ./README
# Comments in this file are targeted only to the developer, do not
# expect to learn how to build the kernel reading this file.

おすすめ記事