Обновлён ebuild для rtl8723de (понижен уровень лога)
This commit is contained in:
parent
b679836598
commit
35689ea2d1
2 changed files with 55 additions and 0 deletions
19
net-wireless/rtl8723de/files/rtl-lower_log.patch
Normal file
19
net-wireless/rtl8723de/files/rtl-lower_log.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
commit bb771c15d3becceb401ef74f8bb5ea5c3ce6688c
|
||||
Author: jeremyb31 <jeremy53561@gmail.com>
|
||||
Date: Sun Dec 24 14:59:44 2017 -0600
|
||||
|
||||
lower default log level
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 063e647..731c462 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -76,7 +76,7 @@ CONFIG_RTW_GRO = y
|
||||
CONFIG_RTW_DEBUG = y
|
||||
# default log level is _DRV_INFO_ = 4,
|
||||
# please refer to "How_to_set_driver_debug_log_level.doc" to set the available level.
|
||||
-CONFIG_RTW_LOG_LEVEL = 4
|
||||
+CONFIG_RTW_LOG_LEVEL = 1
|
||||
######################## Wake On Lan ##########################
|
||||
CONFIG_WOWLAN = n
|
||||
CONFIG_GPIO_WAKEUP = n
|
36
net-wireless/rtl8723de/rtl8723de-20180901-r1.ebuild
Normal file
36
net-wireless/rtl8723de/rtl8723de-20180901-r1.ebuild
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit linux-info linux-mod
|
||||
|
||||
COMMIT="f76dba0e3778cf8a8d80e3ebbda113546651fa3d"
|
||||
|
||||
DESCRIPTION="Realtek RTL8723DE module for Linux kernel"
|
||||
HOMEPAGE="https://github.com/jeremyb31/rtl8723de"
|
||||
SRC_URI="https://github.com/jeremyb31/rtl8723de/archive/${COMMIT}.zip -> rtl8723de-${PV}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="virtual/linux-sources"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/rtl8723de-${COMMIT}"
|
||||
|
||||
MODULE_NAMES="8723de(net/wireless)"
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_TARGET_ARCH="${ARCH}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
|
||||
# fix work with calculate.env
|
||||
epatch "${FILESDIR}/rtl-lower_log.patch"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
BUILD_PARAMS="KERN_DIR=${KV_DIR} KSRC=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
|
||||
}
|
Loading…
Add table
Reference in a new issue