- save binary nv-kernel.o file
[packages/xorg-driver-video-nvidia.git] / xorg-driver-video-nvidia.spec
index 030b0f0e6d936ee66a310397423f2df2930ff081..86c72994e2db31e4d0a085261e51ad1f9b03b3fa 100644 (file)
@@ -190,6 +190,12 @@ echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> usr/s
 %if %{with kernel}
 cd usr/src/nv/
 ln -sf Makefile.kbuild Makefile
+cat >> Makefile <<'EOF'
+
+$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin
+       cp $< $@
+EOF
+mv nv-kernel.o{,.bin}
 %build_kernel_modules -m nvidia
 %endif
 
This page took 0.04346 seconds and 4 git commands to generate.