Variant concept in Yocto

A Yocto project often has to support several variations in software and hardware composition, such as supporting a graphical software stack as well as a non-graphical software stack on several different CPU architectures.

A variation in either hardware of software is in the Software Factory referred to as a variant.

Each variant potentially needs its own set of Yocto configuration files (most notably, its own bblayers.conf and local.conf). Yocto has a built-in way to handle deployment of configuration files with its TEMPLATECONF variable which can be supplied to the oe-init-build-env script [1], and this scheme is also used in the Software Factory.