简体   繁体   中英

Can not find bitbake command inside yocto

I am using Yocto(poky) freescale linux for creating new software. I have compiled my binaries on Poky 1.6 daisy. But to build recipes on this system I can not find bitbake command.

I searched every where on Google but no luck. Can anybody tell me how do i install bitbake in mentioned machine so that I can create rpm package for that machine.

Thanks in advance.

To start using bitbake you need to source the "oe-init-build-env" script located into poky/ directory. So you should do something like this:

$ cd /path/to/poky
$ source ./oe-init-build-env
$ bitbake <recipe>

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM