• Masahiro Yamada's avatar
    kbuild: deb-pkg: create source package without cleaning · 7bf4582d
    Masahiro Yamada authored
    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: default avatarMasahiro Yamada <masahiroy@kernel.org>
    Reviewed-by: default avatarNicolas Schier <nicolas@fjasle.eu>
    7bf4582d
mkdebian 6.91 KB