[yocto] [bitbake] OECORE_TARGET_SYSROOT and OECORE_NATIVE_SYSROOT variables not availables ?

Khem Raj raj.khem at gmail.com
Tue Jan 10 11:39:21 PST 2017


These are specified differently when using the Yocto build system you
should not be using these variables in your makefiles
On Tue, Jan 10, 2017 at 8:11 AM Karim ATIKI <karim_atiki at hotmail.com> wrote:

>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hi,
>
>
>
>
>
>
>
> I'm using generated Poky SDK to cross-compile our program source-codes,
> which works fine.
>
>
>
>
>
>
>
> Now I wish to integrate the build of the project into Yocto recipes using
> our makefiles.
>
>
>
>
>
>
>
> However, some custom parameters in the makefiles are using the variables OECORE_TARGET_SYSROOT
>  and OECORE_NATIVE_SYSROOT to manage paths.
>
>
>
> But it appears that these 2 variables do not exists when the makefiles are
> called in a do_compile() function of a recipe.
>
>
>
>
>
>
>
> Is it normal ? Did I did something wrong ?
>
>
> Should my recipe inherit something specific?
>
>
>
>
>
>
>
> Or should I "source" my "environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi"
> from the SDK into my recipe file ? (=> not portable)
>
>
>
>
>
>
>
> Thanks.
>
>
>
>
>
>
>
> Z.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
>
> _______________________________________________
>
> yocto mailing list
>
> yocto at yoctoproject.org
>
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170110/3c062721/attachment.html>


More information about the yocto mailing list