Skip to content
Commit 6fc91752 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: srcrpm-pkg: create source package without cleaning



If you run 'make (src)rpm-pkg', all objects are lost due to 'make clean',
which makes the incremental builds impossible.

Instead of cleaning, pass the exclude list to tar's --exclude-from
option.

Previously, the .config was contained in the source tarball.

With this commit, the source rpm consists of separate linux.tar.gz
and .config.

Remove stale comments. Now, 'make (src)rpm-pkg' works with O= option.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 1ec9bb70
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment