Advertisement
HyP3r-

Untitled

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