linux-stable/scripts/package
Masahiro Yamada 7bf4582d7a kbuild: deb-pkg: create source package without cleaning
If you run 'make deb-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, *.diff.gz contained some check-in files such as
.clang-format, .cocciconfig.

With this commit, *.diff.gz will only contain the .config and debian/.
The other source files will go into the .orig tarball.

linux.tar.gz is rebuilt only when the source files that would go into
the tarball are changed.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
2023-02-26 15:18:07 +09:00
..
builddeb builddeb: Consolidate consecutive chmod calls into one 2023-01-26 12:43:33 +09:00
buildtar buildtar: fix tarballs with EFI_ZBOOT enabled 2022-12-17 21:55:04 +09:00
mkdebian kbuild: deb-pkg: create source package without cleaning 2023-02-26 15:18:07 +09:00
mkspec kbuild: do not put .scmversion into the source tarball 2023-01-30 13:00:30 +09:00
snapcraft.template scripts/package: snap-pkg target 2017-12-13 00:00:18 +09:00