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.

8

1 Answer

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest