[yocto] Building only the app and not the Linux core

Ross Burton ross.burton at intel.com
Tue Nov 12 07:51:56 PST 2019


On 12/11/2019 15:33, gholhakiii at 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.

Baremetal != "just my app and not Linux".

If you want to build a bare metal application then setup the 
distribution as such: meta-freertos is one example using FreeRTOS, and 
we have newlib or baremetal options for the toolchain.  Using Linux and 
glibc is just the default and not hardcoded.

Ross


More information about the yocto mailing list