[OE-core] [PATCH 1/4] kernel.bbclass, module-base.bbclass: Use CC to form KERNEL_CC

McClintock Matthew-B29882 B29882 at freescale.com
Mon Feb 4 23:56:50 UTC 2013


On Mon, Feb 4, 2013 at 4:51 PM, Khem Raj <raj.khem at gmail.com> wrote:
> On Mon, Feb 4, 2013 at 12:13 PM, McClintock Matthew-B29882
> <B29882 at freescale.com> wrote:
>>> +
>>> +KERNEL_CC = "${CC} ${HOST_CC_KERNEL_ARCH}"
>>
>> Why change to ${CC} from "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX}?
>>
>> It breaks some kernel builds we have...
>
> you did not tell what exactly breaks.

Shame on me. Our kernel gets built wrong if we pass the extra -march
or -mtune to the compiler during the kernel build. It might be
exposing another issue but not sure exactly. I need to dig up a log so
I can send that over later. Here was my fix:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mattsm/master&id=f008446117106831585ed371453d1f052cdfd9eb

-M




More information about the Openembedded-core mailing list