[meta-freescale] Unable to get u-boot running on i.MX6 SABRE for Smart Devices Eval Board
Otavio Salvador
otavio at ossystems.com.br
Thu Nov 6 09:56:47 PST 2014
On Thu, Nov 6, 2014 at 3:53 PM, Gary Thomas <gary at mlbassoc.com> wrote:
> On 2014-11-06 10:47, Otavio Salvador wrote:
>>
>> On Thu, Nov 6, 2014 at 3:31 PM, Guillaume Fournier
>> <gfournier at brioconcept.com> wrote:
>> ...
>>>
>>> Long story short, to solve my problem:
>>> Add the following line in the
>>> environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi script:
>>> export KCFLAGS="--sysroot=$SDKTARGETSYSROOT"
>>>
>>> May I suggest future releases include this modification in the script ?
>>
>>
>> Awesome! Thanks for sharing all this background information.
>>
>> I will prepare a patch for the environment script and propose it in
>> OE-Core.
>
>
> This is fallout of the recent change in OE-core to "poison the GCC sysroot"
>
> commit 678e8798ebe0f4fd1bd347db136f1499b8fe00c9
> Author: Richard Purdie <richard.purdie at linuxfoundation.org>
> Date: Fri Oct 24 15:10:25 2014 +0100
> gcc: poison default sysroot path
>
> I suspect to be 100% correct, the KCFLAGS may need other settings
> besides the --sysroot, e.g. -march or -mtune
I don't think so. The Linux Kernel and U-Boot are expected to have the
'better' knowledgement about the build flags and it is advised to let
them to handle it.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the meta-freescale
mailing list