On Tue, 12 Nov 2019, at 15:33, gholhak...@yahoo.com wrote: > Hi all, > > I would like to build my yocto project, but only my applications. I > mean, I would like to separate my Linux build and the application build. > I want to just have my meta-layer which contains my application being > build by calling the bitbake command. > Can anyone give me a pointer? Using the multiconfig is the way to do it? > > Best > Em > > P.S. If I want to be more specific, I just want to use Yocto as a > cross-compilation tool for baremetal applications.
You could start by looking at how meta-freertos (https://github.com/aehs29/meta-freertos) achieves this. It has support for running the resulting bare-metal app under qemu which you might not need, but the rest of freertos-image.bbclass is probably a good reference. -- Paul Barker -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto