SPECS: kernel-misc-usb-rndis-lite.spec - better debug solution off...

glen glen at pld-linux.org
Fri Jan 26 15:05:20 CET 2007


Author: glen                         Date: Fri Jan 26 14:05:20 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- better debug solution offered by sparky

---- Files affected:
SPECS:
   kernel-misc-usb-rndis-lite.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/kernel-misc-usb-rndis-lite.spec
diff -u SPECS/kernel-misc-usb-rndis-lite.spec:1.4 SPECS/kernel-misc-usb-rndis-lite.spec:1.5
--- SPECS/kernel-misc-usb-rndis-lite.spec:1.4	Fri Jan 26 13:12:21 2007
+++ SPECS/kernel-misc-usb-rndis-lite.spec	Fri Jan 26 15:05:15 2007
@@ -11,7 +11,7 @@
 %undefine	with_dist_kernel
 %endif
 
-%define		_rel	0.6
+%define		_rel	0.7
 Summary:	usb-rdnis-lite
 Name:		kernel%{_alt_kernel}-misc-usb-rndis-lite
 Version:	0
@@ -57,13 +57,10 @@
 %prep
 %setup -q -n usb-rndis-lite
 
-%if 0%{?debug:1}
-%{__sed} -i -e 's,^.*\(#define.*\(DEBUG\|VERBOSE\)\),\1,' cdc_ether.c
-%endif
-
 %build
 %if %{with kernel}
-%build_kernel_modules -m cdc_ether,rndis_host,usbnet
+%build_kernel_modules -m cdc_ether,rndis_host,usbnet \
+	EXTRA_CFLAGS="%{?debug:-DDEBUG=1 -DVERBOSE=1}"
 %endif
 
 %install
@@ -104,6 +101,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/01/26 14:05:15  glen
+- better debug solution offered by sparky
+
 Revision 1.4  2007/01/26 12:12:21  glen
 - debug mode
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-misc-usb-rndis-lite.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list