Re: [yocto] Native yocto compile in docker container without cross compile

2018-09-19 Thread Burton, Ross
Yes, that's it. On Wed, 19 Sep 2018 at 21:07, Fabian Sturm wrote: > > Hmm I guess I was way overthinking this. The idea seems to just create > a secong image definition like this it seems: > > > core-image-minimal-dev.bb: > > require core-image-minimal.bb > > DESCRIPTION = "A small image

Re: [yocto] Native yocto compile in docker container without cross compile

2018-09-19 Thread Fabian Sturm
Hmm I guess I was way overthinking this. The idea seems to just create a secong image definition like this it seems: core-image-minimal-dev.bb: require core-image-minimal.bb DESCRIPTION = "A small image just capable of allowing a device to boot and \ is suitable for development

Re: [yocto] Native yocto compile in docker container without cross compile

2018-09-19 Thread Burton, Ross
If you're targeting just x86 then you can build an image with the tools-sdk IMAGE_FEATURE defined, and use something like systemd-nspawn (insert your preferred container system) to get a shell in it. Ross On Wed, 19 Sep 2018 at 18:14, Fabian Sturm wrote: > > Hi, > > no this is not what I am

Re: [yocto] Native yocto compile in docker container without cross compile

2018-09-19 Thread Fabian Sturm
Hi, no this is not what I am searching for. What I want is gcc cmake and other tools to be installed inside of the Yocto image, so that I can compile natively in Yocto without having to hack build scripts to work with a cross compiler.  But of course I don'T want to deliver gcc and others with

Re: [yocto] Native yocto compile in docker container without cross compile

2018-09-19 Thread Alexander Kanavin
I think what you are looking for is a Yocto generated SDK for your image? bitbake -c populate_sdk Alex 2018-09-18 23:00 GMT+02:00 Fabian Sturm : > Hi, > > I am wondering, there does not seem to be any information about native > compile of projects in a Yocto docker container. It seems that

[yocto] Native yocto compile in docker container without cross compile

2018-09-18 Thread Fabian Sturm
Hi,  I am wondering, there does not seem to be any information about native compile of projects in a Yocto docker container. It seems that most of the people use cross compile even though that imho is not necessary if your target is x86 too. So here is what I want to do: - Create a docker