diff options
author | 2016-06-17 15:42:42 +0300 | |
---|---|---|
committer | 2016-09-07 15:43:49 +0200 | |
commit | 4820ac0702e78857bcb5c9bca02f9c64f3f03a92 (patch) | |
tree | 2594553fa53e84e66b4e856a64c8b2b370367b75 /meta-rcar-gen2/recipes-kernel/backports/backports.inc | |
parent | c6731b17cf80fcdd01e4840ab01c63ccb5f8476d (diff) |
Add recipe for backported wireless drivers
Diffstat (limited to 'meta-rcar-gen2/recipes-kernel/backports/backports.inc')
-rw-r--r-- | meta-rcar-gen2/recipes-kernel/backports/backports.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-rcar-gen2/recipes-kernel/backports/backports.inc b/meta-rcar-gen2/recipes-kernel/backports/backports.inc new file mode 100644 index 0000000..32aeeef --- /dev/null +++ b/meta-rcar-gen2/recipes-kernel/backports/backports.inc @@ -0,0 +1,24 @@ +DESCRIPTION = "Backported wireless drivers" +HOMEPAGE = "http://backports.wiki.kernel.org/" +SECTION = "kernel/modules" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" +DEPENDS = "wireless-tools" +PR = "r11" + +TAG = "${@'${COMPAT_WIRELESS_VERSION}'.replace('-', '.')}" +PV = "${TAG}" + +S = "${WORKDIR}/backports-${COMPAT_WIRELESS_VERSION}" + +inherit module + +EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}" + +do_configure_append() { + sed -i "s#@./scripts/update-initramfs## " Makefile +} + +do_install() { + oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" LDFLAGS="" modules_install +}
\ No newline at end of file |