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

Khem Raj raj.khem at gmail.com
Tue Feb 26 22:49:55 UTC 2013


On Tue, Feb 26, 2013 at 2:22 PM, McClintock Matthew-B29882
<B29882 at freescale.com> wrote:
> On Tue, Feb 26, 2013 at 11:56 AM, Khem Raj <raj.khem at gmail.com> wrote:
>> On (26/02/13 17:08), Anton Sergienko wrote:
>>> Hi!
>>> After the patch (commit c49f967384ccbfe131bbb33ee518014f3fc4b38f) to
>>> meta/classes/kernel-arch.bbclass kernel build fails for arm machine with
>>> hard floating point instruction set in CC (-mfloat-abi=hard).
>>> As I understand kernel should not be build with fpu specific floating point
>>> instructions(should not be any floating point operation at all), but CFLAGS
>>> from machine-tune are propagated to CC and it also include -mfloat-abi
>>> flag. Should not -mfloat-abi flag be filtered out in kernel-arch.bbclass ?
>>
>> yes. I think this patch is creating more issues than its solving. I will
>> think about decoupling KERNEL_CC from CC once again.


>
> I just resubmitted my patch for this... It decouples all the extra
> args while still keeping the ones specifically added.


thanks for doing it




More information about the Openembedded-core mailing list