我在 openembedded 环境中运行 bitbake,我认为它丢失了 99% 的配方文件。我在我的 conf 目录中编辑了 local.conf 文件,它有一行:
BBFILES := "/blah/blah/blah/rootfs/openembedded/recipes/*/*.bb"
如果我检查该路径:
ls -l /blah/blah/blah/rootfs/openembedded/recipes/*/*.bb
我看到大量的 bb 文件。
我认为鉴于我需要做的所有文档,但是当我运行 bitbake 时,我收到以下错误:
bitbake base-image
NOTE: Handling BitBake files: \ (0015/0015) [100 %]
Parsing of 15 .bb files complete (14 cached, 1 parsed). 15 targets, 0 skipped, 0 masked, 0 errors.
ERROR: Nothing PROVIDES 'base-image'
Build Configuration:
BB_VERSION = "1.10.2"
METADATA_BRANCH = "<unknown>"
METADATA_REVISION = "8c6a371"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "at91sam9x5ek"
DISTRO = "angstrom"
DISTRO_VERSION = "v20131031"
TARGET_FPU = "soft"
Unknown Event: <bb.event.NoProvider instance at 0x1b70a28>
ERROR: Nothing PROVIDES 'base-image'
Command execution failed: Traceback (most recent call last):
File "/home/max/workspace/tacbio/tacbio-kernel-2_6_39/rootfs/openembedded/bitbake/lib/bb/command.py", line 88, in runAsyncCommand
commandmethod(self.cmds_async, self, options)
File "/home/max/workspace/tacbio/tacbio-kernel-2_6_39/rootfs/openembedded/bitbake/lib/bb/command.py", line 174, in buildTargets
command.cooker.buildTargets(pkgs_to_build, task)
File "/home/max/workspace/tacbio/tacbio-kernel-2_6_39/rootfs/openembedded/bitbake/lib/bb/cooker.py", line 782, in buildTargets
taskdata.add_provider(localdata, self.status, k)
File "/home/max/workspace/tacbio/tacbio-kernel-2_6_39/rootfs/openembedded/bitbake/lib/bb/taskdata.py", line 354, in add_provider
self.add_provider_internal(cfgData, dataCache, item)
File "/home/max/workspace/tacbio/tacbio-kernel-2_6_39/rootfs/openembedded/bitbake/lib/bb/taskdata.py", line 383, in add_provider_internal
raise bb.providers.NoProvider(item)
NoProvider: base-image
所以,路径似乎没有错,我有数百个 bb 文件,但 bitbake 只看到 15 个食谱。知道我错过了什么吗?不幸的是,我的特定板附带的文档已经过时了好几年,所以不再与 OE 或 Yocto 完全匹配。