SPECS: kernel-net-e1000.spec - build fix; synchro options with tem...

zbyniu zbyniu at pld-linux.org
Tue May 9 20:09:00 CEST 2006


Author: zbyniu                       Date: Tue May  9 18:09:00 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build fix; synchro options with template-kernel-module.spec

---- Files affected:
SPECS:
   kernel-net-e1000.spec (1.47 -> 1.48) 

---- Diffs:

================================================================
Index: SPECS/kernel-net-e1000.spec
diff -u SPECS/kernel-net-e1000.spec:1.47 SPECS/kernel-net-e1000.spec:1.48
--- SPECS/kernel-net-e1000.spec:1.47	Tue May  9 11:59:38 2006
+++ SPECS/kernel-net-e1000.spec	Tue May  9 20:08:55 2006
@@ -84,7 +84,7 @@
 	ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} o/include/asm
 %endif
 
-cat >o/Makefile <<EOF
+cat >Makefile <<EOF
 obj-m := e1000i.o
 e1000i-objs := e1000_main.o e1000_hw.o e1000_param.o e1000_ethtool.o kcompat.o
 EOF
@@ -92,6 +92,8 @@
 	%{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts
 	%{__make} -C %{_kernelsrcdir} clean \
 		RCS_FIND_IGNORE="-name '*.ko' -o" \
+		SYSSRC=%{_kernelsrcdir} \
+		SYSOUT=$PWD/o \
 		M=$PWD O=$PWD/o \
 		%{?with_verbose:V=1}
 	%{__make} -C %{_kernelsrcdir} modules \
@@ -101,10 +103,12 @@
 %endif
 		HOSTCC="%{__cc}" \
 		EXTRA_CFLAGS='-DE1000_NAPI' \
+		SYSSRC=%{_kernelsrcdir} \
+		SYSOUT=$PWD/o \
 		M=$PWD O=$PWD/o \
 		%{?with_verbose:V=1}
 
-	mv e1000{,i-$cfg}.ko
+	mv e1000i{,-$cfg}.ko
 done
 
 %install
@@ -153,6 +157,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.48  2006/05/09 18:08:55  zbyniu
+- build fix; synchro options with template-kernel-module.spec
+
 Revision 1.47  2006/05/09 09:59:38  paszczus
 - propably fixed building on ppc (it was typo?)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-net-e1000.spec?r1=1.47&r2=1.48&f=u



More information about the pld-cvs-commit mailing list