Guest User

Untitled

a guest
May 24th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1.  
  2. LICENSE = "CLOSED"
  3.  
  4. SRC_URI = "http://localhost:8000/test.tar.gz"
  5. SRC_URI[md5sum] = "a7c9685e46733130c953389a0e5c82fb"
  6. SRC_URI[sha256sum] = "f1de95b65d6df3b39d52134b6c1fb365329cd45d3cc2a5d3ae862cc0b418509f"
  7.  
  8.  
  9. S ="${WORKDIR}/Etherlab_EtherCAT_Master"
  10.  
  11. inherit autotools-brokensep module
  12. EXTRA_OECONF = "--with-linux-dir=${STAGING_KERNEL_BUILDDIR} --enable-sii-assign --host=x86_64-pc-linux-gnu --disable-8139too"
  13. EXTRA_OEMAKE = "INSTALL_MOD_PATH=${IMAGE_ROOTFS}"
  14.  
  15. do_configure_prepend(){
  16. touch ChangeLog
  17. }
  18.  
  19. do_compile(){
  20. oe_runmake clean
  21. oe_runmake all modules
  22. }
  23.  
  24. do_install(){
  25. oe_runmake modules_install install DESTDIR=${STAGING_DIR_NATIVE}
  26. }
  27.  
  28.  
  29.  
  30. FILES_${PN} += "${prefix} \
  31. ${prefix}/bin \
  32. ${sysconfdir}/ethercat.conf \
  33. ${sysconfdir}/sysconfig \
  34. ${sysconfdir}/init.d \
  35. ${sysconfdir}/sysconfig/ethercat \
  36. ${sysconfdir}/init.d/ethercat \
  37. ${prefix}/sbin \
  38. ${prefix}/lib/libethercat.so.1.0.0 \
  39. ${prefix}/lib/libethercat.so.1 \
  40. ${prefix}/sbin/ethercatctl \
  41. ${prefix}/bin/ethercat \
  42. ${prefix}/lib/systemd \
  43. ${prefix}/lib/systemd/system \
  44. ${prefix}/lib/systemd/system/ethercat.service"
Add Comment
Please, Sign In to add comment