[Q][PATCH 0/5] RFC: UBUNTU: [Packaging] Preliminary Cross-compile support

Juerg Haefliger juerg.haefliger at canonical.com
Fri Jun 27 05:44:45 UTC 2025


On Fri, 27 Jun 2025 08:43:58 +0800
Zixing Liu <zixing.liu at canonical.com> wrote:

> This is a RFC patch-set aiming to get convenient cross-compilation for kernel
> packages.
> 
> This set of patches enable the entire kernel package (including linux-tools-*)
> to be easily cross-buildable using existing build system.

Very nice! But can you explain in more detail what the current state/behavior
is (specifically what doesn't work) and the benefits and outcome of your
proposed changes?

...Juerg


> 
> Zixing Liu (5):
>   UBUNTU: [Packaging] debian.master/control.stub.in: prepare for
>     cross-compiling
>   UBUNTU: [Packaging] debian/rules.d/0-common-vars.mk: avoid infinite
>     loop
>   UBUNTU: [Packaging] debian/rules.d/0-common-vars.mk: use native GCC
>   UBUNTU: [Packaging] debian/rules.d/0-common-vars.mk: enable
>     linux-tools cross-compilation
>   UBUNTU: [Packaging] debian/rules.d/0-common-vars.mk: fix linux-tools
>     cross-build
> 
>  debian.master/control.stub.in   | 57 +++++++++++++++++----------------
>  debian/rules.d/0-common-vars.mk | 17 ++++------
>  debian/rules.d/2-binary-arch.mk |  4 +--
>  3 files changed, 37 insertions(+), 41 deletions(-)
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250627/e8af2003/attachment.sig>


More information about the kernel-team mailing list