[PATCH v4 0/6] kbuild: improve source package builds

From: Masahiro Yamada
Date: Wed Feb 01 2023 - 22:38:48 EST



This series improve deb-pkg and (src)rpm-pkg so they can build
without cleaning the kernel tree.
The debian source package will switch to 3.0 (quilt).

My next plans are:

- add 'srcdeb-pkg' target

- add more compression mode

- rewrite snap-pkg and delete the old tar macro



Masahiro Yamada (6):
kbuild: add a tool to generate a list of files ignored by git
kbuild: deb-pkg: create source package without cleaning
kbuild: rpm-pkg: build binary packages from source rpm
kbuild: srcrpm-pkg: create source package without cleaning
kbuild: deb-pkg: hide KDEB_SOURCENAME from Makefile
kbuild: deb-pkg: switch over to format 3.0 (quilt)

Makefile | 4 +
scripts/.gitignore | 1 +
scripts/Makefile | 2 +-
scripts/Makefile.package | 94 +++---
scripts/gen-exclude.c | 623 +++++++++++++++++++++++++++++++++++++++
scripts/package/mkdebian | 23 +-
scripts/package/mkspec | 8 +-
7 files changed, 706 insertions(+), 49 deletions(-)
create mode 100644 scripts/gen-exclude.c

--
2.34.1