diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-02-15 10:20:26 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-02-26 15:18:47 +0900 |
commit | 6fc91752d7c4706f1036838544b1ef5d9f41c058 (patch) | |
tree | 1bb3b1ec73c3384965f94c7ac0dc5e3534b8c1fc /scripts/depmod.sh | |
parent | 1ec9bb704faf50c48727b5daa33bc42e7334db60 (diff) |
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: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/depmod.sh')
0 files changed, 0 insertions, 0 deletions