Skip to content

Commit

Permalink
bes2600: add bes2600-module recipe
Browse files Browse the repository at this point in the history
Build the bes2600 module out-of-tree to keep things separated
and simplier.

Signed-off-by: Christophe Chapuis <[email protected]>
  • Loading branch information
Tofee committed Apr 14, 2024
1 parent 2073fd1 commit f8f389b
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 43,319 deletions.
1 change: 1 addition & 0 deletions conf/machine/pinetab2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
MACHINE_EXTRA_RDEPENDS = " \
linux-firmware-pine64 \
kernel-modules \
bes2600-module \
\
qtsensors-sensorfw-plugin \
sensorfw \
Expand Down
19 changes: 19 additions & 0 deletions recipes-kernel/bes2600/bes2600-module.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
SECTION = "kernel"
SUMMARY = "BES2600 Device Driver for Linux"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"

DEPENDS = "virtual/kernel"

inherit module

PV = "0.6.9+git"
SRCREV = "1b61b519a3b5697f7a9bfff15cb957e0aad03d65"

SRC_URI = "git://github.com/cringeops/bes2600.git;branch=master;protocol=https \
file://0001-Fix-build-with-Linux-6.6.9.patch \
"
S = "${WORKDIR}/git"

MODULES_MODULE_SYMVERS_LOCATION = "bes2600"
EXTRA_OEMAKE += "KERN_DIR=${STAGING_KERNEL_BUILDDIR} -C ${STAGING_KERNEL_BUILDDIR} M=${S}/bes2600"
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From d61e043fb01cd5066d07318c26a074dddd50a5bf Mon Sep 17 00:00:00 2001
From: Christophe Chapuis <[email protected]>
Date: Sat, 13 Apr 2024 17:38:37 +0000
Subject: [PATCH] Fix build with Linux 6.6.9

Upstream-Status: Inappropriate [LuneOS specific]

Signed-off-by: Christophe Chapuis <[email protected]>
---
bes2600/txrx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bes2600/txrx.c b/bes2600/txrx.c
index ff33f0b..676a216 100644
--- a/bes2600/txrx.c
+++ b/bes2600/txrx.c
@@ -1485,7 +1485,7 @@ void bes2600_skb_dtor(struct bes2600_common *hw_priv,
/* The interface may be already removed */
bes2600_tx_status(priv, skb);
}
- ieee80211_tx_status_skb(hw_priv->hw, skb);
+ ieee80211_tx_status(hw_priv->hw, skb);
}

}
Loading

0 comments on commit f8f389b

Please sign in to comment.