From 251d048d0b6cbdb70122e5ba9952ea531f753365 Mon Sep 17 00:00:00 2001 From: Marek Belisko Date: Thu, 15 Oct 2020 19:50:50 +0200 Subject: [PATCH] xradio: Use updated driver from armbian Current xradio driver have an issue that with 5.x kernel doesn't work properly. Bump it to more maintained one which support also 5.x kernel. Signed-off-by: Marek Belisko --- recipes-kernel/xradio/xradio.bb | 6 ++-- .../0001-Enable-out-of-tree-compilation.patch | 30 +++++++++++++++++++ 2 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 recipes-kernel/xradio/xradio/0001-Enable-out-of-tree-compilation.patch diff --git a/recipes-kernel/xradio/xradio.bb b/recipes-kernel/xradio/xradio.bb index ec68929..4472522 100644 --- a/recipes-kernel/xradio/xradio.bb +++ b/recipes-kernel/xradio/xradio.bb @@ -11,9 +11,11 @@ RDEPENDS_${PN} += "xradio-firmware" COMPATIBLE_MACHINE = "orange-pi-zero" -SRCREV = "6bf0e2e21c80456e2a3d4ad1267caecde7165871" +SRCREV = "279868ac96f6db34b65f68c6722830fa0aacb86b" -SRC_URI = "git://github.com/fifteenhex/xradio.git;protocol=https \ +SRC_URI = "\ + git://github.com/dbeinder/xradio.git;protocol=https;branch=karabek_rebase \ + file://0001-Enable-out-of-tree-compilation.patch \ " S = "${WORKDIR}/git" diff --git a/recipes-kernel/xradio/xradio/0001-Enable-out-of-tree-compilation.patch b/recipes-kernel/xradio/xradio/0001-Enable-out-of-tree-compilation.patch new file mode 100644 index 0000000..df95c1d --- /dev/null +++ b/recipes-kernel/xradio/xradio/0001-Enable-out-of-tree-compilation.patch @@ -0,0 +1,30 @@ +From 15651d333da5429a1544f0a17d5f02c74f693ad7 Mon Sep 17 00:00:00 2001 +From: Marek Belisko +Date: Thu, 15 Oct 2020 14:45:07 +0200 +Subject: [PATCH] Enable out of tree compilation + +Signed-off-by: Marek Belisko +--- + Makefile | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index 7a0de9a..ee75f0b 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,9 +1,9 @@ + # SPDX-License-Identifier: GPL-2.0-only + + # # Standalone Makefile - uncomment for out-of-tree compilation +-# CONFIG_WLAN_VENDOR_XRADIO := m +-# ccflags-y += -DCONFIG_XRADIO_USE_EXTENSIONS +-# ccflags-y += -DCONFIG_XRADIO_WAPI_SUPPORT ++CONFIG_WLAN_VENDOR_XRADIO := m ++ccflags-y += -DCONFIG_XRADIO_USE_EXTENSIONS ++ccflags-y += -DCONFIG_XRADIO_WAPI_SUPPORT + + # Kernel part + +-- +2.7.4 +