Received: from yocto-www.yoctoproject.org (yocto-www.yoctoproject.org [140.211.169.56]) by mx.groups.io with SMTP id smtpd.web12.1574.1595613903375330881 for ; Fri, 24 Jul 2020 11:05:08 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=softfail (domain: windriver.com, ip: 140.211.169.56, mailfrom: randy.macleod@windriver.com) Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id DE3C7E01EFF; Fri, 24 Jul 2020 11:05:02 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,HTML_MESSAGE, NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.3 NICE_REPLY_A Looks like a legit reply (A) Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9CA14E01EFC for ; Fri, 24 Jul 2020 11:05:01 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.2) with ESMTPS id 06OI4w0t016024 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 24 Jul 2020 11:04:58 -0700 (PDT) Received: from [172.25.44.3] (172.25.44.3) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.487.0; Fri, 24 Jul 2020 11:04:57 -0700 Subject: Re: [yocto-builds] Please Help me: v4l2loopback recipe To: , Yocto discussion list References: From: "Randy MacLeod" Message-ID: <230c9dde-f766-1b2b-ea25-ef4392a3326b@windriver.com> Date: Fri, 24 Jul 2020 14:04:55 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [172.25.44.3] Content-Type: multipart/alternative; boundary="------------55A4F53D8EC0BD78BF904388" Content-Language: en-CA --------------55A4F53D8EC0BD78BF904388 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable On 2020-07-24 12:21 p.m., profecie@gmail.com wrote: > > Hi, > > I'm begginer on Yocto and I try to add v4l2loopback to my image.Idon't= =20 > 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. > I download current source on github=20 > (https://github.com/umlaeute/v4l2loopback) and i try to compile with=20 > with recipe > > |SUMMARY =3D "V4L2Loopback" DESCRIPTION =3D "v4l2loopback module" LICENS= E=20 > =3D "GPLv2" LIC_FILES_CHKSUM =3D=20 > "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=3D801f80980d171dd6425610833a22= dbe6"=20 > # Use local tarball SRC_URI =3D "file://v4l2loopback-master.tar.gz" #=20 > Make sure our source directory (for the build) matches the directory=20 > structure in the tarball S =3D "${WORKDIR}/v4l2loopback-master" inherit= =20 > module KERNEL_MODULE_AUTOLOAD =3D "v4l2loopback" | > > bitbake give me : > > || NOTE: make -j 4=20 > KERNEL_SRC=3D/media/yocto-irts/distro/build/tmp/work-shared/genericx86-6= 4/kernel-source=20 > DEPMOD=3Decho=20 > MODLIB=3D/media/yocto-irts/distro/build/tmp/work/genericx86_64-poky-linu= x/v4l2loopbackd/1.0-r0/image/lib/modules/4.18.22-yocto-standard=20 > CC=3Dx86_64-poky-linux-gcc -fuse-ld=3Dbfd=20 > -fdebug-prefix-map=3D/media/yocto-irts/distro/build/tmp/work/genericx86_= 64-poky-linux/v4l2loopbackd/1.0-r0=3D/usr/src/debug/v4l2loopbackd/1.0-r0=20 > -fdebug-prefix-map=3D/media/yocto-irts/distro/build/tmp/work/genericx86_= 64-poky-linux/v4l2loopbackd/1.0-r0/recipe-sysroot=3D=20 > -fdebug-prefix-map=3D/media/yocto-irts/distro/build/tmp/work/genericx86_= 64-poky-linux/v4l2loopbackd/1.0-r0/recipe-sysroot-native=3D=20 > -fdebug-prefix-map=3D/media/yocto-irts/distro/build/tmp/work-shared/gene= ricx86-64/kernel-source=3D/usr/src/kernel=20 > LD=3Dx86_64-poky-linux-ld.bfd=20 > O=3D/media/yocto-irts/distro/build/tmp/work-shared/genericx86-64/kernel-= build-artifacts=20 > modules_install | make: *** No rule to make target 'modules_install'.=20 > Stop. | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell=20 > command.| ||This seems to be an out of tree kernel module so you should take a=20 look at:|||| 2.10.2.=C2=A0Incorporating 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=20 *openembedded-devel@lists.openembedded.org* list following these instructions: https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded once it works? Good luck, ../Randy > || > > I think i have to patch Makefile but i don't know how > > Please help me to get v4l2loopback on my yocto project ;) > > Thanks > > >=20 --=20 # Randy MacLeod # Wind River Linux --------------55A4F53D8EC0BD78BF904388 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
On 2020-07-24 12:21 p.m., profecie@gmail.com 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.


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

SUMMARY =3D "V4L2Loopback"
DESCRIPTION =3D "v4l2loopback module"
LICENSE =3D "GPLv2"
LIC_FILES_CHKSUM =3D "file://=
${COMMON_LICENSE_DIR}/GPL-2.0;md5=3D801f80980d171dd6425610833a22dbe6"


# Use local tarball
SRC_URI =3D "file://v4l2loopback-master.tar.gz"

# Make sure our source directory (for the build) matches the directory str=
ucture in the tarball
S =3D "${WORKDIR}/v4l2loopback-master"

inherit module

KERNEL_MODULE_AUTOLOAD =3D "v4l2loopback"

bitbake give me :

| NOTE: make -j 4 KERNEL_SRC=3D/media/yocto-irts/distro=
/build/tmp/work-shared/genericx86-64/kernel-source DEPMOD=3Decho MODLIB=3D/=
media/yocto-irts/distro/build/tmp/work/genericx86_64-poky-linux/v4l2loopbac=
kd/1.0-r0/image/lib/modules/4.18.22-yocto-standard CC=3Dx86_64-poky-linux-g=
cc  -fuse-ld=3Dbfd -fdebug-prefix-map=3D/media/yocto-irts/distro/build/tmp/=
work/genericx86_64-poky-linux/v4l2loopbackd/1.0-r0=3D/usr/src/debug/v4l2loo=
pbackd/1.0-r0 -fdebug-prefix-map=3D/media/yocto-irts/distro/build/tmp/work/=
genericx86_64-poky-linux/v4l2loopbackd/1.0-r0/recipe-sysroot=3D -fdebug-pre=
fix-map=3D/media/yocto-irts/distro/build/tmp/work/genericx86_64-poky-linux/=
v4l2loopbackd/1.0-r0/recipe-sysroot-native=3D  -fdebug-prefix-map=3D/media/=
yocto-irts/distro/build/tmp/work-shared/genericx86-64/kernel-source=3D/usr/=
src/kernel LD=3Dx86_64-poky-linux-ld.bfd  O=3D/media/yocto-irts/distro/buil=
d/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.=C2=A0Incorporating Out-of-Tree Modul= es

In:

https://www.yoctoprojec= t.org/docs/current/kernel-dev/kernel-dev.html

Try the example here:

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

Will you please send the recipe to the openembedded-devel@lists.openembedded.org
list following these instructions:
=C2=A0=C2=A0 https://www.openembed= ded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
once it works?

Good luck,

../Randy



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

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

Thanks



    


--=20
# Randy MacLeod
# Wind River Linux
--------------55A4F53D8EC0BD78BF904388--