【发布时间】:2021-11-26 17:19:49
【问题描述】:
我为我的 board 构建了 yocto 映像。现在我需要申请this patch
首先,我如何确定补丁用于哪个配方? 二、这个补丁怎么打?
(我检查了similar question,但它正在修补yocto系统本身,我不想要那个)
我可以用我找到的this command 列出我所有的食谱
bitbake-layers show-recipes
但我仍然不知道这些配方中的哪个构建文件驱动程序/rpmsg/virtio_rpmsg_bus.c,我需要修补的文件。
我还发现了三个有这个c文件的目录:
find . -name virtio_rpmsg_bus.c
./build_wayland/tmp/work-shared/imx8mm-var-dart/kernel-source/drivers/rpmsg/virtio_rpmsg_bus.c
./build_wayland/tmp/work/aarch64-fslc-linux/linux-libc-headers/5.4-r0/linux-5.4/drivers/rpmsg/virtio_rpmsg_bus.c
./build_wayland/tmp/work/aarch64-mx8mm-fslc-linux/linux-imx-headers/5.4-r0/git/drivers/rpmsg/virtio_rpmsg_bus.c
这些配方文件夹有 recipes-kernel/linux 目录
sources/meta-freescale-3rdparty/recipes-kernel
sources/meta-freescale/recipes-kernel
sources/poky/meta-skeleton/recipes-kernel
sources/poky/meta/recipes-kernel
sources/poky/meta-yocto-bsp/recipes-kernel
sources/meta-virtualization/recipes-kernel
sources/meta-variscite-fslc/recipes-kernel
sources/meta-openembedded/meta-gnome/recipes-kernel
sources/meta-openembedded/meta-initramfs/recipes-kernel
sources/meta-openembedded/meta-networking/recipes-kernel
sources/meta-openembedded/meta-oe/recipes-kernel
我不知道这些配方中的哪一个可能正在构建我的 c 文件 virtio_rpmsg_bus.c
【问题讨论】:
标签: yocto bitbake yocto-recipe