Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 bitbake 来构建食谱。
一个食谱表明它需要df。
我检查了
build/tmp/hosttools
df 不存在,但我可以从 /bin/df 手动复制 df
如何配置 yocto 让它包含df工具?
手动复制二进制文件可能不起作用。您需要在 bitbake.conf 中包含 df 到 HOSTTOOLS
例如:构建实用程序信息 主题下的oe-core/meta/conf/bitbake.conf。
HOSTTOOLS += " [ ar as awk basename bash bzip2 cat chgrp chmod chown date df du echo
像这样做。它会起作用的。