[yocto] [Yocto]?==?utf-8?q? [Rocko] linux kernel built with icc

Khem Raj raj.khem at gmail.com
Wed May 30 13:20:41 PDT 2018


On Wed, May 30, 2018 at 8:08 AM, david at lapinbilly.eu
<david at lapinbilly.eu> wrote:
> Hi there,
>
> I am using icc from intel as a secondary toolchain.
> In order to build the linux kernel (the one from meta-intel) against icc, I did patched the line:
>
> KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd"
>
> within the class "kernel-arch".
>
> I wonder if there is another way to call another compiler than "gcc" to build the kernel ?
>

you could override KERNEL_CC settings in a kernel bbappend

>
> --
> David Marec
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list