APPLIED: [PATCH 1/1][SRU][FOCAL][RISC-V][5.8] UBUNTU: [Packaging] Use gcc-10 for riscv 5.8 kernel build

Kleber Souza kleber.souza at canonical.com
Mon Feb 1 11:24:24 UTC 2021


On 30.01.21 11:51, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1913864
> 
> 5.8 RISC-V really requires gcc-10 for a bootable build, so
> enable this.
> 
> Signed-off-by: Colin Ian King <colin.king at canonical.com>

Applied to focal/linux-riscv-5.8.

Thanks,
Kleber

> ---
>   debian.master/control.stub.in | 2 +-
>   debian/rules                  | 1 +
>   2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/debian.master/control.stub.in b/debian.master/control.stub.in
> index 9c1e956092bf..3b920328caff 100644
> --- a/debian.master/control.stub.in
> +++ b/debian.master/control.stub.in
> @@ -68,7 +68,7 @@ Section: devel
>   Priority: optional
>   Provides: linux-source
>   Depends: ${misc:Depends}, binutils, bzip2, coreutils
> -Recommends: libc-dev, gcc, make
> +Recommends: libc-dev, gcc-10, make
>   Suggests: libncurses-dev | ncurses-dev, kernel-package, libqt3-dev
>   Description: Linux kernel source for version PKGVER with Ubuntu patches
>    This package provides the source code for the Linux kernel version
> diff --git a/debian/rules b/debian/rules
> index 627ca3cb968f..425d33b35fde 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -8,6 +8,7 @@
>   #
>   
>   DEBIAN=$(shell awk -F= '($$1 == "DEBIAN") { print $$2 }' <debian/debian.env)
> +gcc=gcc-10
>   
>   # dpkg-buildpackage passes options that are incomptatible
>   # with the kernel build.
> 




More information about the kernel-team mailing list