Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB822C47258 for ; Wed, 17 Jan 2024 22:11:43 +0000 (UTC) Subject: etherlab To: yocto@lists.yoctoproject.org From: "Daniele Lugli" X-Originating-Location: IT (31.26.241.23) X-Originating-Platform: Windows Opera 106 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Wed, 17 Jan 2024 14:11:35 -0800 Message-ID: Content-Type: multipart/alternative; boundary="WjeFAt3IVNcFwUqKdGi4" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 17 Jan 2024 22:11:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/62180 --WjeFAt3IVNcFwUqKdGi4 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all, I am trying to add an EtherLAB Ethercat master to my target. I added a new recipes-etherlab directory at the same level of other working= recipes: recipes-etherlab | +-etherlab | +-etherlab_0.1.bb | +-files | +-ethercat The ethercat directory is from https://gitlab.com/etherlab.org/ethercat.git etherlab_0.1.bb says: DESCRIPTION =3D "EtherLAB Ethercat master" LIC_FILES_CHKSUM =3D "file://COPYING;md5=3D59530bdf33659b29e73d4adb9f9f6552= " LICENSE =3D "GPLv2" S =3D "${WORKDIR}/etherlab/ethercat" FILES:${PN} =3D "\ /etc/init.d/ethercat \ /etc/sysconfig/ethercat \ ${libdir}/libethercat.so.1.1.0 \ ${libdir}/libethercat.so.1.1 \ ${libdir}/libethercat.so.1 \ ${bindir}/ethercat" do_compile() { autoreconf sh configure --sysconfdir=3D/etc --enable-igb make } do_install() { install -d ${D}${bindir}/ install -d ${D}${libdir}/ install -d ${D}/etc/init.d/ install -m 0755 ${S}/lib/.libs/libethercat.so.1.0.0 ${D}${libdir}/libetherc= at.so.1.0.0 install -m 0755 ${S}/tool/ethercat ${D}${bindir}/ethercat install -m 0755 ${S}/script/init.d/ethercat.in ${D}/etc/init.d/ethercat ln -s libethercat.so.1.1.0 ${D}${libdir}/libethercat.so.1.1 ln -s libethercat.so.1.1 ${D}${libdir}/libethercat.so.1 } Last, I added IMAGE_INSTALL +=3D "etherlab" to mytest-image.bb Now, bitbake mytest-image complains: /home/vboxuser/yocto/poky/build/tmp/work/corei7-64-poky-linux/etherlab/0.1/= temp/run.do_compile.5355: 141: autoreconf: not found The build configuration is BB_VERSION=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D "2.6.0" BUILD_SYS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D "x86_64-linux" NATIVELSBSTRING=C2=A0 =C2=A0 =C2=A0 =3D "universal" TARGET_SYS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D "x86_64-poky-linux" MACHINE=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D "intel-corei7-6= 4" DISTRO=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D "poky" DISTRO_VERSION=C2=A0 =C2=A0 =C2=A0 =C2=A0=3D "4.3.2" TUNE_FEATURES=C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D "m64 corei7" TARGET_FPU=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D "" meta meta-poky meta-yocto-bsp=C2=A0 =C2=A0 =C2=A0 =C2=A0=3D "nanbield:f768ffb8916feb6542fc= be3e946cbf30e247b151" meta-oe=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D "nanbield:2da6e= 1b0e43a8993fd422fee3f83940100b59f4c" meta-intel=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D "nanbield:039e45e21d= 2973fc3ce318a25beceae348e4428a" meta-mytest=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D ":" and I have tools-sdk among my IMAGE_FEATURES. Thank you in advance for any hint. -- Daniele Lugli General Logic srl Viale Curreno, 41 10133 Torino Italy tel +39 329 3933041 www.general-logic.com ( http://www.general-logic.com/ ) www.linkedin.com/in/daniele- lugli ( http://www.linkedin.com/in/daniele-lug= li ) --WjeFAt3IVNcFwUqKdGi4 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi all,
 
I am trying to add an EtherLAB Ethercat master to my target.
 
I added a new recipes-etherlab directory at the same level of other wo= rking recipes:
 
recipes-etherlab
  |
  +-etherlab
       |
   +-etherlab_0.1.bb
   |
   +-files
       |
   +-ethercat
 

The ethercat directory is from https://gitlab.com/etherlab.org/e= thercat.git
 
etherlab_0.1.bb says:


DESCRIPTION =3D "EtherLAB Ethercat mas= ter"
 
LIC_FILES_CHKSUM =3D "file://COPYING;m= d5=3D59530bdf33659b29e73d4adb9f9f6552"
LICENSE =3D "GPLv2"
 
S =3D "${WORKDIR}/etherlab/ethercat"
 
FILES:${PN} =3D "\
        /etc/init.= d/ethercat \
        /etc/sysco= nfig/ethercat \
        ${libdir}/= libethercat.so.1.1.0 \
        ${libdir}/= libethercat.so.1.1 \
        ${libdir}/= libethercat.so.1 \
        ${bindir}/= ethercat"
 
do_compile() {
          &nb= sp;     autoreconf
          &nb= sp;     sh configure --sysconfdir=3D/etc --enable-igb
          &nb= sp;     make
}
 
do_install() {
          &nb= sp;     install -d ${D}${bindir}/
          &nb= sp;     install -d ${D}${libdir}/
          &nb= sp;     install -d ${D}/etc/init.d/
          &nb= sp;     install -m 0755 ${S}/lib/.libs/libethercat.so.1.0.0 ${D}$= {libdir}/libethercat.so.1.0.0
          &nb= sp;     install -m 0755 ${S}/tool/ethercat ${D}${bindir}/ethercat=
          &nb= sp;     install -m 0755 ${S}/script/init.d/ethercat.in ${D}/etc/i= nit.d/ethercat
          &nb= sp;     ln -s libethercat.so.1.1.0 ${D}${libdir}/libethercat.so.1= .1
          &nb= sp;     ln -s libethercat.so.1.1 ${D}${libdir}/libethercat.so.1
}
 
Last, I added
 
IMAGE_INSTALL +=3D "etherlab"
 
to mytest-image.bb
 
Now, bitbake mytest-image complains:
 
/home/vboxuser/yocto/poky/build/tmp/wo= rk/corei7-64-poky-linux/etherlab/0.1/temp/run.do_compile.5355: 141: autorec= onf: not found
 
The build configuration is
 
BB_VERSION        =    =3D "2.6.0"
BUILD_SYS        &= nbsp;   =3D "x86_64-linux"
NATIVELSBSTRING      = =3D "universal"
TARGET_SYS        =    =3D "x86_64-poky-linux"
MACHINE        &nb= sp;     =3D "intel-corei7-64"
DISTRO        &nbs= p;      =3D "poky"
DISTRO_VERSION      &nb= sp;=3D "4.3.2"
TUNE_FEATURES      &nbs= p; =3D "m64 corei7"
TARGET_FPU        =    =3D ""
meta         =        
meta-poky        &= nbsp;   
meta-yocto-bsp      &nb= sp;=3D "nanbield:f768ffb8916feb6542fcbe3e946cbf30e247b151"
meta-oe        &nb= sp;     =3D "nanbield:2da6e1b0e43a8993fd422fee3f83940100b59f4c"
meta-intel        =    =3D "nanbield:039e45e21d2973fc3ce318a25beceae348e4428a"=
meta-mytest       =   =3D "<unknown>:<unknown>"
 
and I have tools-sdk among my IMAGE_FEATURES.
 
Thank you in advance for any hint.
 
 
--
Daniele Lugli
General Logic srl
Viale Curreno, 41
10133 Torino
Italy
tel +39 329 3933041
--WjeFAt3IVNcFwUqKdGi4--