Skip to contentSkip to conversation

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

DISCUSSION [email protected] 2 participants 2 messages May 30, 2018

lore
Share & tools
lore
#0 lore raw

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 ?

--
David Marec

#1 lore raw
Quoted 11 lines · On Wed, May 30, 2018 at 8:08 AM, [email protected] <[email protected]>…

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

Quoted 9 lines

--
David Marec

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto