Thanks for the input ! The idea was that we have the build directory for building our project + full image, so everything is already there, already setup, all the tools+libraries etc. If a new dependency is added, your environment is updated during bitbaking the project, so everything is updated "automatically" when you are going to build outside. Generating a installer and then installing that in some other location involves extra, manual steps. Also if dependencies are added, you have to manually generate it again and install it. So it didn't look that simple when we started the project, and using the toolchain derived from the build directory was more "natural"... - But this seems to not work anymore. As I remember that build directory toolchain (build/tmp/environment-setup- cortexa5hf-neon-poky-linux-gnueabi) was also used and needed if one was going to use Eclipse for building a Yocto project.(you can choose from a "Standalone Pre-built Toolchain" or a "Build System Derived Toolchain")
But maybe, I'm missing something ... (?) Your suggestion is to go for generating a SDK installer? Using "bitbake -c populate_sdk myimage" Thanks and regards On Mon, Feb 5, 2018 at 8:11 PM, Khem Raj <[email protected]> wrote: > 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 > > > > -- > _______________________________________________ > yocto mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/yocto >
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
