diff options
Diffstat (limited to 'recipes-kernel/rs9113/rs9113_1.3.0.bb')
-rw-r--r-- | recipes-kernel/rs9113/rs9113_1.3.0.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/recipes-kernel/rs9113/rs9113_1.3.0.bb b/recipes-kernel/rs9113/rs9113_1.3.0.bb new file mode 100644 index 0000000..be52385 --- /dev/null +++ b/recipes-kernel/rs9113/rs9113_1.3.0.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "USB Driver for Redpine RS9113" +SECTION = "base" +PRIORITY = "optional" +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28" + +SRC_URI = " \ + file://RS9113.NBZ.NL.GENR.LNX.1.3.0.tgz \ + file://kthread.patch \ + file://defconfig \ + file://rs9113_load_modules.sh \ + file://rs9113_remove_modules.sh \ + file://rs9113.init \ +" + +S = "${WORKDIR}/RS9113.NBZ.NL.GENR.LNX.1.3.0/source/host" + +EXTRA_OEMAKE = " KERNELDIR=${STAGING_KERNEL_DIR} \ + CROSS_COMPILE=${TARGET_PREFIX} \ + ARCH=arm \ + WLAN_COMPILE_FLAGS='' \ + " + +do_configure() { + cp ${WORKDIR}/defconfig .config +} + +do_compile () { + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake +} + +FILES_${PN} = "/opt/rs9113 ${sbindir}" +FILES_${PN}-dbg = "/opt/rs9113/.debug/" + +PARALLEL_MAKE = "" + +do_install() { + install -m 0755 -d ${D}/opt/rs9113 + cp -r ${S}/release/* ${D}/opt/rs9113/ + + install -m 0755 -d ${D}${sbindir} + install -m 0755 ${WORKDIR}/rs9113_load_modules.sh ${D}${sbindir}/ + install -m 0755 ${WORKDIR}/rs9113_remove_modules.sh ${D}${sbindir}/ +} + +python do_clean() { + bb.note("Skipping clean in rs9113 recipe.") +} |