diff options
Diffstat (limited to 'recipes-kernel/wilc1000/wilc1000_git.bb')
-rw-r--r-- | recipes-kernel/wilc1000/wilc1000_git.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-kernel/wilc1000/wilc1000_git.bb b/recipes-kernel/wilc1000/wilc1000_git.bb new file mode 100644 index 0000000..12d3e90 --- /dev/null +++ b/recipes-kernel/wilc1000/wilc1000_git.bb @@ -0,0 +1,25 @@ +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +inherit module + +PV = "3.18" +KBRANCH = "kernel-3.18" +SRCREV = "${AUTOREV}" +SRC_URI = "git://github.com/linux4sc/staging.git;protocol=git;branch=${KBRANCH} \ + file://wilcp1000_3.18_to_3.12_kernel.patch \ + " + + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = '-C ${STAGING_KERNEL_DIR} M=${S} \ + CONFIG_ATMEL_SMARTCONNECT=y \ + CONFIG_WILC1000=m \ + CONFIG_WILC1000_SDIO=m \ + ' + +do_install() { + install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/atmel/wilc1000 + install -m 0644 ${S}/*${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/atmel/wilc1000 +} |