Author: kwizart
Update of /cvs/nonfree/rpms/nvidia-kmod/F-19
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv14317
Modified Files:
nvidia-kmod.spec
Log Message:
Attempt to fix cross-kernel build
Index: nvidia-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-kmod/F-19/nvidia-kmod.spec,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- nvidia-kmod.spec 11 Nov 2013 17:44:09 -0000 1.150
+++ nvidia-kmod.spec 11 Nov 2013 18:11:41 -0000 1.151
@@ -64,10 +64,12 @@
%build
for kernel_version in %{?kernel_versions}; do
pushd _kmod_build_${kernel_version%%___*}/kernel/
- make %{?_smp_mflags} IGNORE_CC_MISMATCH=1
KERNEL_UNAME="${kernel_version%%___*}" module
+ make %{?_smp_mflags} IGNORE_CC_MISMATCH=1
KERNEL_UNAME="${kernel_version%%___*}" \
+ SYSSRC="${kernel_version##*___}" module
popd
pushd _kmod_build_${kernel_version%%___*}/kernel/uvm
- make %{?_smp_mflags} IGNORE_CC_MISMATCH=1
KERNEL_UNAME="${kernel_version%%___*}" module
+ make %{?_smp_mflags} IGNORE_CC_MISMATCH=1
KERNEL_UNAME="${kernel_version%%___*}" \
+ SYSSRC="${kernel_version##*___}" module
popd
done