[OE-core] [PATCH 1/1] native/nativesdk: Clear MACHINEOVERRIDES

Otavio Salvador otavio at ossystems.com.br
Thu Aug 28 23:22:04 UTC 2014


Hello Saul,

On Mon, Aug 25, 2014 at 4:28 PM, Otavio Salvador
<otavio at ossystems.com.br> wrote:
> On Mon, Aug 25, 2014 at 4:01 PM, Khem Raj <raj.khem at gmail.com> wrote:
>> In cases where we override variables e.g PACKAGE_ARCH
>> conditionally and use a MACHINEOVERRIDE to qualify the
>> override like
>>
>> PACKAGE_ARCH_<MACHINE> = "some target PACKAGE_ARCH"
>>
>> This would also be effective if this recipe is
>> BBEXTENDED to native or nativesdk which is undesired
>> This particular issue will cause wrong sysroot to be
>> used for nativesdk case since PACKAGE_ARCH would have
>> been modified and eventually changing value of
>> STAGING_DIR_TARGET which we use as --sysroot option
>> to cross and cross-canadian built SDK gcc
>>
>> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>
> Tested-by: Otavio Salvador <otavio at ossystems.com.br>

Can this to be backported to Daisy?

This solve an issue which took a while to figure out in meta-fsl-arm;
this may also affect others and it is hard to debug.

-- 
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 Openembedded-core mailing list