linux-stable/scripts/package
Masahiro Yamada 3ab18a625c kbuild: deb-pkg: improve the usability of source package
Improve the source package support in case the dpkg-buildpackage is
directly used to build binary packages.

For cross-compiling, you can set CROSS_COMPILE via the environment
variable, but it is better to set it automatically - set it to
${DEB_HOST_GNU_TYPE}- if we are cross-compiling but not from the top
Makefile.

The generated source package may be carried to a different build
environment, which may have a different compiler installed.
Run olddefconfig first to set new CONFIG options to their default
values without prompting.

Take KERNELRELEASE and KBUILD_BUILD_VERSION from the version field of
debian/changelog in case it is updated afterwards.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2023-02-26 15:23:30 +09:00
..
builddeb builddeb: Consolidate consecutive chmod calls into one 2023-01-26 12:43:33 +09:00
buildtar kbuild: tar-pkg: use tar rules in scripts/Makefile.package 2023-02-26 15:23:30 +09:00
deb-build-option kbuild: deb-pkg: improve the usability of source package 2023-02-26 15:23:30 +09:00
mkdebian kbuild: deb-pkg: improve the usability of source package 2023-02-26 15:23:30 +09:00
mkspec kbuild: srcrpm-pkg: create source package without cleaning 2023-02-26 15:18:47 +09:00
snapcraft.template scripts/package: snap-pkg target 2017-12-13 00:00:18 +09:00