[yocto] Build directory toolchain

Khem Raj raj.khem at gmail.com
Mon Feb 5 10:11:01 PST 2018


On 2/5/18 3:25 AM, Gigi Work wrote:
> What is the correct/official way to setup a toolchain derived from the
> build directory - if it has everything in there and my app compiles fine
> using bitbake, I don't want to create a toolchain installer and install
> separately.

I think SDK is the standard way of exporting the build environment for
external compilations. I would like to understand why would you not want
doing that.

> 
> My recipe compiles successfully using "bitbake my-recipe", but compiling
> outside, fails:
> 
> First I run "bitbake meta-ide-support" and then source the environment
> (build/tmp/environment-setup-cortexa5hf-neon-poky-linux-gnueabi)
> It fails because it cannot find cmake.


you can also use the devtool workflow to compile your application while
you are in the build environment.

http://www.yoctoproject.org/docs/2.5/sdk-manual/sdk-manual.html#using-devtool-in-your-sdk-workflow

> 
> I'm using the rocko branch.
> 
> Any help is appreciated !
> Thanks
> 




More information about the yocto mailing list