aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Praga <alexis.praga@proton.me>2023-07-02 11:10:04 +0200
committerAlexis Praga <alexis.praga@proton.me>2023-07-02 11:10:04 +0200
commit46f62a352c6bd58db699c5218d9580d138afcd85 (patch)
tree49ef2c8725a78d16a29b14167735b2e6c6a9cc70
parentdev-python/mautrix: drop 0.19.15 (diff)
downloadguru-46f62a352c6bd58db699c5218d9580d138afcd85.tar.gz
guru-46f62a352c6bd58db699c5218d9580d138afcd85.tar.bz2
guru-46f62a352c6bd58db699c5218d9580d138afcd85.zip
net-wireless/rtl8723bu: migration to linux-mod-r1.class
Signed-off-by: Alexis Praga <alexis.praga@proton.me>
-rw-r--r--net-wireless/rtl8723bu/rtl8723bu-9999.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/net-wireless/rtl8723bu/rtl8723bu-9999.ebuild b/net-wireless/rtl8723bu/rtl8723bu-9999.ebuild
index 891b73ef3..3703f5962 100644
--- a/net-wireless/rtl8723bu/rtl8723bu-9999.ebuild
+++ b/net-wireless/rtl8723bu/rtl8723bu-9999.ebuild
@@ -3,33 +3,33 @@
EAPI=8
-inherit git-r3 linux-mod
+inherit git-r3 linux-mod-r1
DESCRIPTION="Driver for the rtl8723 wireless chipset"
HOMEPAGE="https://github.com/lwfinger/rtl8723bu"
EGIT_REPO_URI="https://github.com/lwfinger/rtl8723bu.git"
+EGIT_BRANCH=master
LICENSE="GPL-2"
+SLOT="0"
RDEPEND="sys-kernel/linux-firmware"
-MODULE_NAMES="8723bu(net:)"
-
-BUILD_TARGETS="all"
-
# Concurrent mode should be disable to avoid 2 conflicting wifi interfaces
src_prepare() {
default
sed -i '/EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE/s/^/#/' Makefile || die "sed failed !"
}
-pkg_setup() {
- linux-mod_pkg_setup
+src_compile() {
+ local modlist=( 8723bu=net/wireless )
+ local modargs=( KSRC="${KV_OUT_DIR}" )
+ linux-mod-r1_src_compile
}
src_install() {
insinto /lib/firmware
doins rtl8723b_fw.bin
- linux-mod_src_install
+ linux-mod-r1_src_install
}