SPECS: bcm5700.spec - alt kernel fix, buildfix

glen glen at pld-linux.org
Fri Feb 15 16:38:46 CET 2008


Author: glen                         Date: Fri Feb 15 15:38:46 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- alt kernel fix, buildfix

---- Files affected:
SPECS:
   bcm5700.spec (1.61 -> 1.62) 

---- Diffs:

================================================================
Index: SPECS/bcm5700.spec
diff -u SPECS/bcm5700.spec:1.61 SPECS/bcm5700.spec:1.62
--- SPECS/bcm5700.spec:1.61	Fri Feb 15 15:37:21 2008
+++ SPECS/bcm5700.spec	Fri Feb 15 16:38:41 2008
@@ -23,10 +23,10 @@
 License:	GPL v2
 Group:		Base/Kernel
 # extracted from http://www.broadcom.com/docs/driver_download/570x/linux-8.3.14.zip
-Source0:	%{name}-%{version}.tar.gz
+Source0:	%{pname}-%{version}.tar.gz
 # Source0-md5:	6dd814821f26ad67c7d7ce61c5275ca0
-Source1:	%{name}-Makefile
-Patch0:		%{name}-2.6.22.patch
+Source1:	%{pname}-Makefile
+Patch0:		%{pname}-2.6.22.patch
 URL:		http://www.broadcom.com/drivers/downloaddrivers.php
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
 BuildRequires:	rpmbuild(macros) >= 1.379
@@ -67,8 +67,14 @@
 Uwaga: ten sterownik Broadcomu jest przestarzały, należy używać tg3.
 
 %prep
-%setup -q
-%patch0 -p1
+%setup -q -n %{pname}-%{version}
+
+mv src/Makefile{,.orig}
+cat > src/Makefile << EOF
+obj-m += bcm5700.o
+bcm5700-objs := b57um.o b57proc.o tigon3.o autoneg.o 5701rls.o tcp_seg.o b57diag.o
+EXTRA_CFLAGS = -DDBG=0 -DT3_JUMBO_RCV_RCB_ENTRY_COUNT=256 -DNICE_SUPPORT -DPCIX_TARGET_WORKAROUND=1 -DINCLUDE_TBI_SUPPORT -DINCLUDE_5701_AX_FIX=1
+EOF
 
 %build
 %build_kernel_modules -C src -m bcm5700
@@ -120,6 +126,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.62  2008-02-15 15:38:41  glen
+- alt kernel fix, buildfix
+
 Revision 1.61  2008-02-15 14:37:21  glen
 - alt_kernel stuff merge from AC-branch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/bcm5700.spec?r1=1.61&r2=1.62&f=u



More information about the pld-cvs-commit mailing list