Guest User

kvaser_5.15.0.bb

a guest
Jun 27th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. SUMMARY = "KVASER Drivers"
  2. DESCRIPTION = "KVASER Mini PCI Express drivers for CAN"
  3. HOMEPAGE = "https://www.kvaser.com/downloads/"
  4. LICENSE = "Proprietary"
  5. LIC_FILES_CHKSUM = "file://COPYING;md5=7073d29f4d40e69a99105d0d1553bd67"
  6.  
  7. inherit module
  8.  
  9. SRC_URI = "http://www.kvaser.com/software/7330130980754/V5_15_0/linuxcan.tar.gz \
  10. file://kvpcican.conf \
  11. file://pcican.conf \
  12. "
  13.  
  14. S = "${WORKDIR}/linuxcan"
  15.  
  16. do_install_append() {
  17. install -d ${D}${base_libdir}/${KERNEL_VERSION}/kernel/drivers
  18. install -m 0644 ${S}/pcican/kvpcican.ko ${D}${base_libdir}/${KERNEL_VERSION}/kernel/drivers
  19.  
  20. install -d ${D}${base_libdir}/kernel/drivers
  21. install -m 0644 ${S}/pcican/kvpcican.ko ${D}${base_libdir}/kernel/drivers
  22.  
  23. install -d ${D}${sysconfdir}/modprobe.conf.d/
  24. install -m 0644 ${WORKDIR}/kvpcican.conf ${D}${sysconfdir}/modprobe.conf.d/
  25.  
  26. install -d ${D}${sysconfdir}/modules-load.d/
  27. install -m 0644 ${WORKDIR}/pcican.conf ${D}${sysconfdir}/modules-load.d/
  28.  
  29. install -d ${D}${sbindir}
  30. install -m 0755 ${S}/pcican/pcican.sh ${D}${sbindir}
  31. }
  32.  
  33. FILES_${PN} = "${base_libdir}/${KERNEL_VERSION}/kernel/drivers/* \
  34. ${sysconfdir}/* \
  35. ${sbindir}/*"
  36. RDEPENDS_${PN} = ""
Add Comment
Please, Sign In to add comment