Skip to contentSkip to conversation

Please Help me: v4l2loopback recipe

yocto-builds Randy MacLeod 1 participant 1 message Jul 24, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · On 2020-07-24 12:21 p.m., [email protected] wrote:

Hi,

I'm begginer on Yocto and I try to add v4l2loopback to my image.Idon't find any recipe to do that so i try to do myself but it's not a success :)

Hi,

Welcome to Yocto development.

I'm moving this email to the yocto general list.

the yocto-builds list is mainly about automated build reports.

Quoted 11 lines

I download current source on github (https://github.com/umlaeute/v4l2loopback) and i try to compile with with recipe

|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 give me :

|| 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

(quoted diff) +0 -4
-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 
Quoted 1 line

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.|

||This seems to be an out of tree kernel module so you should take a look at:||||

2.10.2. Incorporating Out-of-Tree Modules

In:

https://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html

Try the example here:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb

Will you please send the recipe to the *[email protected]* list following these instructions:
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
once it works?

Good luck,

../Randy

Quoted 10 lines

||

I think i have to patch Makefile but i don't know how

Please help me to get v4l2loopback on my yocto project ;)

Thanks

Signature · 2 lines
# Randy MacLeod
# Wind River Linux