编译单个模块:bitbake rpmsg-echo-test -C compile
bitbake rpmsg-echo-test -c clean

配置中所有可用的 recipe
bitbake-layers show-recipes

查看package位置
bitbake -e <package> | grep “^S=”

conf/local.conf

BB_NO_NETWORK = “1”
BB_SRCREV_POLICY = “cache”
bitbake fsl-image-auto --runall=do_fetch

使用 bitbake -e <recipe> 命令: 这个命令可以输出配方的环境变量,帮助你查找 DEPENDS 和 RDEPENDS 是否设置正确。

确保你添加的库的配方在Yocto的层中可用。你可以通过 bitbake-layers show-recipes 命令来检查已包含的配方。

编译日志: tmp/work///temp/log.do_compile
配置日志: tmp/work///temp/log.do_configure
安装日志: tmp/work///temp/log.do_install

grep CORE_IMAGE_EXTRA_INSTALL --exclude=“*.{c h}” . -rns

Logo

一站式 AI 云服务平台

更多推荐