Hi Daniele, On Thu, Jan 18, 2024 at 10:34 PM Daniele Lugli <daniele.lu...@gmail.com> wrote:
> Hi Marek, and thank you for your reply. > > Adding line "inherit autotools" (not "autoconf") in my recipe solved that > problem. > (I also had to put the sources of etherlab as a tgz and not as a plain > directory) > > I am now facing a different problem: the configure command complains > > error: kernel 6.5 not available for 8139too driver! > > As I don't need 8139too, I changed the configure arguments to > > sh configure --sysconfdir=/etc --enable-igb --disable-8139too I've used devtool (you can find more in the poky manual) to create a base recipe then with a few tweaks I can build it. Please name this as ethercat_git.bb with content: LICENSE = "GPL-2.0-only & LGPL-2.1-only & Unknown" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c \ file://devices/e1000/LICENSE;md5=e2643b73e47fa4b29cdfad24ee42bed6" DEPENDS += "pkgconfig-native" RDEPENDS:${PN} += "bash" SRC_URI = "git:// gitlab.com/etherlab.org/ethercat.git;protocol=https;branch=master" # Modify these as desired PV = "1.6.0-rc1+git${SRCPV}" SRCREV = "420e6150f55b71b97a84c64831f4928e0859a0e9" S = "${WORKDIR}/git" inherit autotools EXTRA_OECONF = "--enable-igb --disable-8139too --with-linux-dir=${STAGING_KERNEL_BUILDDIR} --disable-igb" FILES:${PN} += "${datadir}/*" Hope this helps. > > > This works if I build etherlab out of poky, but has no effect inside > do_compile: I still get the same "not available" error. > > My impression is that my do_compile isn't executed at all, and somehow > "configure" is executed without my parameters. Is this possible? > > Best regards, > > -- > Daniele Lugli > General Logic srl > Viale Curreno, 41 > 10133 Torino > Italy > tel +39 329 3933041 > www.general-logic.com > www.linkedin.com/in/daniele-lugli > BR, marek -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62196): https://lists.yoctoproject.org/g/yocto/message/62196 Mute This Topic: https://lists.yoctoproject.org/mt/103796912/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-