我是 Yocto 的初学者,我尝试将 v4l2loopback 添加到我的图像中
我在 github ( https://github.com/umlaeute/v4l2loopback ) 上下载了当前源代码,并尝试使用配方进行编译
SUMMARY = "V4L2Loopback"
DESCRIPTION = "v4l2loopback module"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
# Use local tarball
SRC_URI = "file://v4l2loopback-master.tar.gz"
# Make sure our source directory (for the build) matches the directory structure in the tarball
S = "${WORKDIR}/v4l2loopback-master"
inherit module
KERNEL_MODULE_AUTOLOAD = "v4l2loopback"
bitbake 给我:
| NOTE: make -j 4 KERNEL_SRC=/media/yocto-irts/distro/build/tmp/work-shared/genericx86-64/kernel-source DEPMOD=echo MODLIB=/media/yocto-irts/distro/build/tmp/work/genericx86_64-poky-linux/v4l2loopbackd/1.0-r0/image/lib/modules/4.18.22-yocto-standard CC=x86_64-poky-linux-gcc -fuse-ld=bfd -fdebug-prefix-map=/media/yocto-irts/distro/build/tmp/work/genericx86_64-poky-linux/v4l2loopbackd/1.0-r0=/usr/src/debug/v4l2loopbackd/1.0-r0 -fdebug-prefix-map=/media/yocto-irts/distro/build/tmp/work/genericx86_64-poky-linux/v4l2loopbackd/1.0-r0/recipe-sysroot= -fdebug-prefix-map=/media/yocto-irts/distro/build/tmp/work/genericx86_64-poky-linux/v4l2loopbackd/1.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/media/yocto-irts/distro/build/tmp/work-shared/genericx86-64/kernel-source=/usr/src/kernel LD=x86_64-poky-linux-ld.bfd O=/media/yocto-irts/distro/build/tmp/work-shared/genericx86-64/kernel-build-artifacts modules_install
| make: *** No rule to make target 'modules_install'. Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
我想我必须修补 Makefile 但我不知道如何
请帮我
谢谢