]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
kbuild: do not put .scmversion into the source tarball
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 22 Jan 2023 14:14:21 +0000 (23:14 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 30 Jan 2023 04:00:30 +0000 (13:00 +0900)
commitf6e09b07cc12a4d104bb19fe7566b0636f60c413
tree349dc3e4cb9940aa3e392ceeaab29d5501010473
parentc9f9cf2560e40b62015c6c4a04be60f55ce5240e
kbuild: do not put .scmversion into the source tarball

.scmversion is used by (src)rpm-pkg and deb-pkg to carry KERNELRELEASE.

In fact, deb-pkg does not rely on it any more because the generated
debian/rules specifies KERNELRELEASE from the command line.

Do likwise for (src)rpm-pkg, and remove this feature.
For the same reason, you do not need to save LOCALVERSION in the
spec file.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/Makefile.package
scripts/package/mkspec
scripts/remove-stale-files
scripts/setlocalversion