diff options
Diffstat (limited to 'recipes-kernel/rsi-91x/rsi-bt91x_2.6.1.bb')
-rw-r--r-- | recipes-kernel/rsi-91x/rsi-bt91x_2.6.1.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-kernel/rsi-91x/rsi-bt91x_2.6.1.bb b/recipes-kernel/rsi-91x/rsi-bt91x_2.6.1.bb new file mode 100644 index 0000000..f720b0a --- /dev/null +++ b/recipes-kernel/rsi-91x/rsi-bt91x_2.6.1.bb @@ -0,0 +1,35 @@ +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" +PR = "r3" +PKGR = "${PR}${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}" +RPROVIDES_kernel-module-rsi-bt91x = "rsi-bt91x" +inherit module + +SRCREV = "v${PV}" +SRC_URI = "git://github.com/SiliconLabs/RS911X-nLink-OSD.git;protocol=https \ + file://rsi-bt91x-config.patch;striplevel=2 \ + file://fix-rsi-handle-card-ready.patch;striplevel=2 \ + " +S = "${WORKDIR}/git/rsi" + +EXTRA_OEMAKE = " KERNELDIR=${STAGING_KERNEL_DIR} \ + CROSS_COMPILE=${TARGET_PREFIX} \ + ARCH=arm \ + WLAN_COMPILE_FLAGS='' \ + V=1 \ + " + +PARALLEL_MAKE = "" +PACKAGES = "kernel-module-rsi-btusb kernel-module-rsi-btsdio kernel-module-rsi-bt91x rsi-bt91x-dev rsi-bt91x-dbg" +FILES_kernel-module-rsi-btusb = "/opt/rs9113/modules/rsi_btusb.ko" +FILES_kernel-module-rsi-btsdio = "/opt/rs9113/modules/rsi_btsdio.ko" +FILES_kernel-module-rsi-bt91x = "/opt/rs9113/modules/rsi_bt91x.ko" + +do_install() { + instdir="${D}/opt/rs9113/modules" + install -m 0755 -d "${instdir}" + # use cp instead of install so the driver doesn't get stripped + cp ${S}/rsi_btsdio.ko "${instdir}" + cp ${S}/rsi_bt91x.ko "${instdir}" + cp ${S}/rsi_btusb.ko "${instdir}" +} |