Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DESCRIPTION = "WF111 driver and bin utils"
- SECTION = "wireless driver"
- LICENSE = "CLOSED"
- PR = "r2"
- DEPENDS += "imx-test"
- # run custom kernel module scripts
- inherit module
- # source files
- SRC_URI = "file://wf111-linux-driver_${PV}-${PR}_armv7-a.tar.gz \
- file://date-time-fix.patch"
- # set working directory
- S = "${WORKDIR}/wf111-linux-driver_${PV}-${PR}_armv7-a"
- # resulting files
- FILES_${PN} = "/usr/* /lib*"
- # depend on this module and autostart it
- KERNEL_MODULE_AUTOLOAD += "wf111"
- MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "wf111"
- do_compile () {
- ${MAKE} install_static "KDIR=${KBUILD_OUTPUT}/../kernel-build-artifacts" ARCH=arm CROSS_COMPILE=${CROSS_COMPILE}
- }
- do_install () {
- install -d ${D}
- cp -rf ${S}/output/* ${D}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement