mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
rtl8822bu: another version which actually compiles
This commit is contained in:
parent
0caa10943c
commit
291f1a2c3f
2 changed files with 45 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST rtl8822bu-5.3.1_p20190920.tar.gz 3559097 BLAKE2B c14c4b2be2f29f705161040102b498d796fe5ef5928a17f535f7389ccd35e2d0f23d9bad5e9bcc8136066b71d2eb4594742499643ec688532dd430de1aad1a1a SHA512 0c6090f757b074cb19abfac108eb515ff8e2d6a1fc83472ed3679a614cf2d19c77ee41335bc5d0e78874bb582649cf6fe1161e8fe5fcd147533a57ecf183c667
|
||||
DIST rtl8822bu-5.8.7.4_p20210626.tar.gz 4037363 BLAKE2B a14e294742b555f81bde4a92e2e8c40a3b6244f212d1ada796ebad9d586d8a17adc8504a4f161479c5c970d9c8f82676fc772a9f8d4fc7dbef3e8446c7bbb815 SHA512 705ecc6957aad4050971dab59fa5678990933ca58e2e8e61a5b6ff3ab5a8207554b50f190c6bc13cc841884087ca066ea58b2571a3b4ec6bf10f1804a24ea1d7
|
||||
|
|
|
|||
44
net-wireless/rtl8822bu/rtl8822bu-5.8.7.4_p20210626.ebuild
Normal file
44
net-wireless/rtl8822bu/rtl8822bu-5.8.7.4_p20210626.ebuild
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit linux-mod
|
||||
|
||||
DESCRIPTION="RTL88x2BU driver with monitor mode and frame injection"
|
||||
HOMEPAGE="https://github.com/morrownr/88x2bu.git"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/morrownr/88x2bu.git"
|
||||
else
|
||||
HASH_COMMIT="d57710b441e71c5dbdb0bc3daae05904a03b21e4"
|
||||
SRC_URI="https://github.com/morrownr/88x2bu/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/88x2bu-${HASH_COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="kernel_linux"
|
||||
|
||||
# compile against selected (not running) target
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
BUILD_TARGETS="clean modules"
|
||||
MODULE_NAMES="88x2bu(misc:)"
|
||||
BUILD_PARAMS="KVER=${KV_FULL} KSRC=${KERNEL_DIR} V=1"
|
||||
|
||||
linux-mod_pkg_setup
|
||||
else
|
||||
die "Could not determine proper ${PN} package"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
#sed -i 's#CONFIG_80211W = n#CONFIG_80211W = y#' Makefile || die
|
||||
sed -i 's#-DCONFIG_IEEE80211W#-DCONFIG_IEEE80211W -DCONFIG_RTW_80211R#' Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
Loading…
Reference in a new issue