Hi,

Working with Yocto Project, Now I am a little confused about which files
are the top level ones i.e. files that bitbake starts by, and then all
other recipes are used *if and only if* they are included by some means
such as DEPENDS, RDEPENDS, IMAGE_INSTALL and so on...

As I understood:

   - *meta*/recipes*/images/myImage.bb* which is "*hardware independent*"
   and includes packages to install and etc
   - *conf/machine/myMachine.conf* which is "*hardware specific*" and
   includes appropriate Bootloader, kernel, device tree and etc ... i.e.
   selecting appropriate bootloader, kernel recipes among all others by
   PREFERRED_PROVIDER mechanism
   - *conf/distro/myDistro.conf* which I don't know its usage

Then by setting MACHINE and DISTRO variables in *conf/local.conf* and
calling bitbake with *$ bitbake myImage*, finally *conf/local.conf* is read
and "*myMahcine.conf and myDistro.conf*" will be selected to be used for
image creation, and the myImage recipe's tasks will be executed by
bitbake... all other recipes, include file and bbclass files are come into
play *if and only if* they have been used by some means such as *IMAGE_INSATLL,
DEPENDS, RDEPENDS, inc, inherit and so on* in myImage.bb, myMahchine.conf
and myDistro.conf

Question: Is this procedure Right??

Question: So in summary, I guess that top level files are: *myImage.bb*,
*myMahchine.conf* and *myDistro.conf*

NOTE: Some other files such as conf/bblayer.conf, bitbake.conf and etc are
read but those are not in my focus for this question

Thanks in advance
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48614): https://lists.yoctoproject.org/g/yocto/message/48614
Mute This Topic: https://lists.yoctoproject.org/mt/71563945/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to