Advertisement
Guest User

Untitled

a guest
Aug 1st, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. #
  2. # Bluegiga WF111 Kernel Module
  3. # x- x- www.habemus.com
  4. #
  5.  
  6. DESCRIPTION = "WF111 driver and bin utils"
  7. SECTION = "wireless driver"
  8. LICENSE = "CLOSED"
  9. PR = "r2"
  10.  
  11. DEPENDS += "imx-test"
  12.  
  13. # run custom kernel module scripts
  14. inherit module
  15.  
  16. # source files
  17. SRC_URI = "file://wf111-linux-driver_${PV}-${PR}_armv7-a.tar.gz \
  18. file://date-time-fix.patch"
  19.  
  20. # set working directory
  21. S = "${WORKDIR}/wf111-linux-driver_${PV}-${PR}_armv7-a"
  22.  
  23. # resulting files
  24. FILES_${PN} = "/usr/* /lib*"
  25.  
  26. # depend on this module and autostart it
  27. KERNEL_MODULE_AUTOLOAD += "wf111"
  28. MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "wf111"
  29.  
  30. do_compile () {
  31. ${MAKE} install_static "KDIR=${KBUILD_OUTPUT}/../kernel-build-artifacts" ARCH=arm CROSS_COMPILE=${CROSS_COMPILE}
  32. }
  33.  
  34. do_install () {
  35. install -d ${D}
  36. cp -rf ${S}/output/* ${D}
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement