mirror of
https://notabug.org/Sages-of-Gensokyo/gensokyo_kappa-overlay
synced 2025-01-19 03:22:36 +01:00
47 lines
2.2 KiB
Bash
47 lines
2.2 KiB
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
inherit git-r3 linux-info linux-mod
|
|
DESCRIPTION="Drivers for rtl8192ce, rtl8192cu, rtl8192se, rtl8192de, rtl8188ee, rtl8192ee, rtl8723ae, rtl8723be, and rtl8821ae."
|
|
EGIT_REPO_URI="https://github.com/lwfinger/rtlwifi_new.git"
|
|
|
|
LICENSE="all-rights-reserved"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
IUSE="rtl8192ce rtl8192cu rtl8192se rtl8192de rtl8188ee rtl8192ee rtl8723ae rtl8723be rtl8821ae"
|
|
MODDESTDIR="kernel/drivers/net/wireless/rtlwifi"
|
|
src_configure() {
|
|
BUILD_TARGETS="all"
|
|
set_arch_to_kernel
|
|
MODULE_NAMES=$MODULE_NAMES"rtl_pci($MODDESTDIR:${S}:${S}) "
|
|
MODULE_NAMES=$MODULE_NAMES"rtl_usb($MODDESTDIR:${S}:${S}) "
|
|
MODULE_NAMES=$MODULE_NAMES"rtlwifi($MODDESTDIR:${S}:${S}) "
|
|
MODULE_NAMES=$MODULE_NAMES"btcoexist($MODDESTDIR/btcoexist:${S}:${S}/btcoexist) "
|
|
|
|
if use rtl8723be || use rtl8723ae
|
|
then
|
|
MODULE_NAMES=$MODULE_NAMES"rtl8723-common($MODDESTDIR/rtl8723com:${S}:${S}/rtl8723com) "
|
|
fi
|
|
|
|
if use rtl8192ce || use rtl8192cu
|
|
then
|
|
MODULE_NAMES=$MODULE_NAMES"rtl8192c-common($MODDESTDIR/rtl8192c:${S}:${S}/rtl8192c) "
|
|
fi
|
|
use rtl8192ce && MODULE_NAMES=$MODULE_NAMES"rtl8192ce($MODDESTDIR/rtl8192ce:${S}:${S}/rtl8192ce) "
|
|
use rtl8192cu && MODULE_NAMES=$MODULE_NAMES"rtl8192cu($MODDESTDIR/rtl8192cu:${S}:${S}/rtl8192cu) "
|
|
use rtl8192se && MODULE_NAMES=$MODULE_NAMES"rtl8192se($MODDESTDIR/rtl8192se:${S}:${S}/rtl8192se) "
|
|
use rtl8192de && MODULE_NAMES=$MODULE_NAMES"rtl8192de($MODDESTDIR/rtl8192de:${S}:${S}/rtl8192de) "
|
|
use rtl8188ee && MODULE_NAMES=$MODULE_NAMES"rtl8188ee($MODDESTDIR/rtl8188ee:${S}:${S}/rtl8188ee) "
|
|
use rtl8192ee && MODULE_NAMES=$MODULE_NAMES"rtl8192ee($MODDESTDIR/rtl8192ee:${S}:${S}/rtl8192ee) "
|
|
use rtl8723ae && MODULE_NAMES=$MODULE_NAMES"rtl8723ae($MODDESTDIR/rtl8723ae:${S}:${S}/rtl8723ae) "
|
|
use rtl8723be && MODULE_NAMES=$MODULE_NAMES"rtl8723be($MODDESTDIR/rtl8723be:${S}:${S}/rtl8723be) "
|
|
use rtl8821ae && MODULE_NAMES=$MODULE_NAMES"rtl8821ae($MODDESTDIR/rtl8821ae:${S}:${S}/rtl8821ae) "
|
|
|
|
}
|
|
src_install() {
|
|
linux-mod_src_install
|
|
insinto /lib/firmware/
|
|
doins -r firmware/rtlwifi/
|
|
}
|