Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LICENSE = "CLOSED"
- SRC_URI = "http://localhost:8000/test.tar.gz"
- SRC_URI[md5sum] = "a7c9685e46733130c953389a0e5c82fb"
- SRC_URI[sha256sum] = "f1de95b65d6df3b39d52134b6c1fb365329cd45d3cc2a5d3ae862cc0b418509f"
- S ="${WORKDIR}/Etherlab_EtherCAT_Master"
- inherit autotools-brokensep module
- EXTRA_OECONF = "--with-linux-dir=${STAGING_KERNEL_BUILDDIR} --enable-sii-assign --host=x86_64-pc-linux-gnu --disable-8139too"
- EXTRA_OEMAKE = "INSTALL_MOD_PATH=${IMAGE_ROOTFS}"
- do_configure_prepend(){
- touch ChangeLog
- }
- do_compile(){
- oe_runmake clean
- oe_runmake all modules
- }
- do_install(){
- oe_runmake modules_install install DESTDIR=${STAGING_DIR_NATIVE}
- }
- FILES_${PN} += "${prefix} \
- ${prefix}/bin \
- ${sysconfdir}/ethercat.conf \
- ${sysconfdir}/sysconfig \
- ${sysconfdir}/init.d \
- ${sysconfdir}/sysconfig/ethercat \
- ${sysconfdir}/init.d/ethercat \
- ${prefix}/sbin \
- ${prefix}/lib/libethercat.so.1.0.0 \
- ${prefix}/lib/libethercat.so.1 \
- ${prefix}/sbin/ethercatctl \
- ${prefix}/bin/ethercat \
- ${prefix}/lib/systemd \
- ${prefix}/lib/systemd/system \
- ${prefix}/lib/systemd/system/ethercat.service"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement