]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia.git/blobdiff - xorg-driver-video-nvidia.spec
- make clean/modules separated for parallel build.
[packages/xorg-driver-video-nvidia.git] / xorg-driver-video-nvidia.spec
index 1835d926a2740b499b5271d654a1053d4cfa92d7..5b0c87dbaa28c9afb474b2f2ee78e14414be0a3c 100644 (file)
@@ -169,10 +169,14 @@ for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}
     ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h include/linux/autoconf.h
     ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
     touch include/config/MARKER
-    %{__make} -C %{_kernelsrcdir} clean modules \
+    %{__make} -C %{_kernelsrcdir} clean \
        RCS_FIND_IGNORE="-name '*.ko' -o -name nv-kernel.o -o" \
         M=$PWD O=$PWD \
         %{?with_verbose:V=1}
+    %{__make} -C %{_kernelsrcdir} modules \
+       CC="%{__cc}" CPP="%{__cpp}" \
+        M=$PWD O=$PWD \
+        %{?with_verbose:V=1}
     mv nvidia.ko nvidia-$cfg.ko
 done
 
This page took 0.050718 seconds and 4 git commands to generate.