[packages/rtl8812au] - disable debug noise - rel 2
baggins
baggins at pld-linux.org
Tue Sep 2 23:09:24 CEST 2014
commit 5246a30be592d58cc128c01414668dd7b49c798f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Sep 2 23:09:07 2014 +0200
- disable debug noise
- rel 2
disable-debug.patch | 22 ++++++++++++++++++++++
rtl8812au.spec | 3 ++-
2 files changed, 24 insertions(+), 1 deletion(-)
---
diff --git a/rtl8812au.spec b/rtl8812au.spec
index 6ce79a8..de80ba8 100644
--- a/rtl8812au.spec
+++ b/rtl8812au.spec
@@ -19,7 +19,7 @@ exit 1
%define kpkg %(echo %{_build_kernels} | tr , '\\n' | while read n ; do echo %%undefine alt_kernel ; [ -z "$n" ] || echo %%define alt_kernel $n ; echo %%kernel_pkg ; done)
%define bkpkg %(echo %{_build_kernels} | tr , '\\n' | while read n ; do echo %%undefine alt_kernel ; [ -z "$n" ] || echo %%define alt_kernel $n ; echo %%build_kernel_pkg ; done)
-%define rel 1
+%define rel 2
%define snap 20140901
%define pname rtl8812au
Summary: Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter
@@ -35,6 +35,7 @@ Source0: https://github.com/austinmarton/rtl8812au_linux/archive/master/%{name}-
#URL: http://www.realtek.com.tw/
URL: https://github.com/austinmarton/rtl8812au_linux
Patch0: linux-3.11.patch
+Patch1: disable-debug.patch
BuildRequires: rpmbuild(macros) >= 1.678
%{?with_dist_kernel:%{expand:%kbrs}}
BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
diff --git a/disable-debug.patch b/disable-debug.patch
new file mode 100644
index 0000000..f0d1851
--- /dev/null
+++ b/disable-debug.patch
@@ -0,0 +1,22 @@
+diff --git a/include/autoconf.h b/include/autoconf.h
+index 6f579b3..61b6c74 100644
+--- a/include/autoconf.h
++++ b/include/autoconf.h
+@@ -364,14 +364,14 @@
+ /*
+ * Debug Related Config
+ */
+-#define DBG 1
++#define DBG 0
+
+-#define CONFIG_DEBUG /* DBG_871X, etc... */
++//#define CONFIG_DEBUG /* DBG_871X, etc... */
+ //#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */
+
+ #define CONFIG_PROC_DEBUG
+
+-#define DBG_CONFIG_ERROR_DETECT
++//#define DBG_CONFIG_ERROR_DETECT
+ //#define DBG_CONFIG_ERROR_DETECT_INT
+ //#define DBG_CONFIG_ERROR_RESET
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rtl8812au.git/commitdiff/5246a30be592d58cc128c01414668dd7b49c798f
More information about the pld-cvs-commit
mailing list