From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id CDA5AE00901; Thu, 6 Nov 2014 09:53:37 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2455EE0084A for ; Thu, 6 Nov 2014 09:53:33 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id F043FF811E4; Thu, 6 Nov 2014 10:53:31 -0700 (MST) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 86230F811E1; Thu, 6 Nov 2014 10:53:30 -0700 (MST) Message-ID: <545BB5A0.8040104@mlbassoc.com> Date: Thu, 06 Nov 2014 10:53:36 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <007801cff9e7$83fa3c10$8beeb430$@brioconcept.com> In-Reply-To: Subject: Re: Unable to get u-boot running on i.MX6 SABRE for Smart Devices Eval Board X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 17:53:37 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 2014-11-06 10:47, Otavio Salvador wrote: > On Thu, Nov 6, 2014 at 3:31 PM, Guillaume Fournier > 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 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 -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------