summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.package
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-02-15 02:20:29 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2023-02-26 07:22:37 +0100
commite7853995594baa1a1258b20ff077b60a958becdc (patch)
treeb54cc59bccf9718f608f131574199a528ea7fc90 /scripts/Makefile.package
parentkbuild: deb-pkg: make .orig tarball a hard link if possible (diff)
downloadlinux-e7853995594baa1a1258b20ff077b60a958becdc.tar.xz
linux-e7853995594baa1a1258b20ff077b60a958becdc.zip
kbuild: deb-pkg: switch over to source format 3.0 (quilt)
Change the source format from "1.0" to "3.0 (quilt)" because it works more cleanly. All files except .config and debian/ go into the orig tarball. Add a single patch, debian/patches/config, and delete the ugly extend-diff-ignore patterns. The debian tarball will be compressed into *.debian.tar.xz by default. If you like to use a different compression mode, you can pass the command line option, DPKG_FLAGS=-Zgzip, for example. The orig tarball only supports gzip for now. The combination of gzip and xz is somewhat clumsy, but it is not a practical problem. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'scripts/Makefile.package')
-rw-r--r--scripts/Makefile.package2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.package b/scripts/Makefile.package
index 80a96eb61426..5538deacb136 100644
--- a/scripts/Makefile.package
+++ b/scripts/Makefile.package
@@ -105,7 +105,7 @@ debian-orig: linux.tar.gz debian
PHONY += deb-pkg
deb-pkg: debian-orig
+dpkg-buildpackage -r$(KBUILD_PKG_ROOTCMD) -a$$(cat debian/arch) $(DPKG_FLAGS) \
- --build=source,binary --source-option=-sP -nc -us -uc
+ --build=source,binary -nc -us -uc
PHONY += bindeb-pkg
bindeb-pkg: debian