Yocto 完整编译
source oe-init-build-env
bitbake core-image-minimal
Yocto 查询包名
bitbake -s | grep XXX
// 获取rockchip相关包
:~/rk3568/yocto$ bitbake -s | grep rockchip
android-tools-conf-rockchip :1.0-r0
gstreamer1.0-rockchip :1.0-r0
linux-rockchip :5.10-r0 :4.19-r0
rockchip-alsa-config :1.0-r0
rockchip-libmali :1.0-r0
rockchip-librga :1.0-r0
rockchip-mpp :1.0-r0
rockchip-npu :1.0-r0
rockchip-rkaiq :1.0-r0
udev-conf-rockchip :1.0-r0
Yocto 确定包的源码目录
// 从包名确认内核名为linux-rockchip
:~/rk3568/yocto$ bitbake -e linux-rockchip | grep ^S=
S="/homexx/yocto/rk3568/yocto/build/tmp/work-shared/roc-rk3568-pc/kernel-source"
参考:
-
bitbake
https://wiki.t-firefly.com/zh_CN/Firefly-Linux-Guide/manual_yocto.html
https://blog.csdn.net/weixin_39542936/article/details/116712595 -
yocto
https://zhuanlan.zhihu.com/p/685808207
https://zhuanlan.zhihu.com/p/685360730