[yocto] Native yocto compile in docker container without cross compile
Fabian Sturm
f at rtfs.org
Wed Sep 19 13:07:16 PDT 2018
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 work."
IMAGE_FEATURES += "dev-pkgs tools-sdk"
IMAGE_INSTALL += "cmake"
dev-pkg: selects e.g. all header files for the image packages
tools-sdk: install the toolchain packages into the image
IMAGE_INSTALL += "cmake": here I define any other development tool that
I need in my image
I this correct? At least it seems the created image contains everything
I need!
Kind regards,
Fabian
Am Mittwoch, den 19.09.2018, 18:21 +0100 schrieb 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
More information about the yocto
mailing list