mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 13:03:31 -04:00
net-wireless/rtl8723bu: migration to linux-mod-r1.class
Signed-off-by: Alexis Praga <alexis.praga@proton.me>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user