SPECS: ndiswrapper.spec - set missing KVERS for kernel module build

baggins baggins at pld-linux.org
Mon Apr 10 01:55:30 CEST 2006


Author: baggins                      Date: Sun Apr  9 23:55:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- set missing KVERS for kernel module build

---- Files affected:
SPECS:
   ndiswrapper.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/ndiswrapper.spec
diff -u SPECS/ndiswrapper.spec:1.38 SPECS/ndiswrapper.spec:1.39
--- SPECS/ndiswrapper.spec:1.38	Fri Mar 31 21:06:57 2006
+++ SPECS/ndiswrapper.spec	Mon Apr 10 01:55:25 2006
@@ -130,7 +130,8 @@
     ln -sf %{_kernelsrcdir}/config-$cfg o/.config
     ln -sf %{_kernelsrcdir}/Module.symvers-$cfg o/Module.symvers
     ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h o/include/linux/autoconf.h
-    %{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts
+    %{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts \
+	KVERS="%{_kernel_ver}" \
 
     %{__make} x86_64_stubs gen_exports \
 	KSRC=. \
@@ -138,10 +139,12 @@
     %{__make} -C %{_kernelsrcdir} clean \
         RCS_FIND_IGNORE="-name '*.ko' -o" \
         M=$PWD O=$PWD/o \
+	KVERS="%{_kernel_ver}" \
         %{?with_verbose:V=1}
     %{__make} -C %{_kernelsrcdir} modules \
         RCS_FIND_IGNORE="-name '*.ko' -o" \
         M=$PWD O=$PWD/o \
+	KVERS="%{_kernel_ver}" \
         %{?with_verbose:V=1}
      mv ndiswrapper{,-$cfg}.ko
 done
@@ -211,6 +214,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2006/04/09 23:55:25  baggins
+- set missing KVERS for kernel module build
+
 Revision 1.38  2006/03/31 19:06:57  rotom
 - up to 1.11 (tested, works fine)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ndiswrapper.spec?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list