简体   繁体   English

在yocto中找不到bitbake命令

[英]Can not find bitbake command inside yocto

I am using Yocto(poky) freescale linux for creating new software. 我正在使用Yocto(poky)飞思卡尔linux创建新软件。 I have compiled my binaries on Poky 1.6 daisy. 我已经在Poky 1.6雏菊上编译了我的二进制文件。 But to build recipes on this system I can not find bitbake command. 但是要在此系统上构建配方,我找不到bitbake命令。

I searched every where on Google but no luck. 我在Google上的所有地方进行了搜索,但是没有运气。 Can anybody tell me how do i install bitbake in mentioned machine so that I can create rpm package for that machine. 谁能告诉我如何在提到的计算机中安装bitbake,以便为该计算机创建rpm软件包。

Thanks in advance. 提前致谢。

To start using bitbake you need to source the "oe-init-build-env" script located into poky/ directory. 要开始使用bitbake您需要在poky /目录中找到“ oe-init-build-env”脚本。 So you should do something like this: 因此,您应该执行以下操作:

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

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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