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 = "EtherLAB Ethercat master"

LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
LICENSE = "GPLv2"

S = "${WORKDIR}/etherlab/ethercat"

FILES:${PN} = "\
/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=/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}/libethercat.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 += "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           = "2.6.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "intel-corei7-64"
DISTRO               = "poky"
DISTRO_VERSION       = "4.3.2"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp       = "nanbield:f768ffb8916feb6542fcbe3e946cbf30e247b151"
meta-oe              = "nanbield:2da6e1b0e43a8993fd422fee3f83940100b59f4c"
meta-intel           = "nanbield:039e45e21d2973fc3ce318a25beceae348e4428a"
meta-mytest          = "<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
www.general-logic.com ( http://www.general-logic.com/ )
www.linkedin.com/in/daniele- lugli ( http://www.linkedin.com/in/daniele-lugli )
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62180): https://lists.yoctoproject.org/g/yocto/message/62180
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to