- use nvidia's way to build kernel module, something changed in build auto/th/xorg-driver-video-nvidia-319.23-1
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 6 Jun 2013 06:25:14 +0000 (08:25 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 6 Jun 2013 06:25:14 +0000 (08:25 +0200)
  system in linux 3.9 that makes our scriptology fail for nvidia

xorg-driver-video-nvidia.spec

index 2711d73dc441b0fb46e4a1c2d308f79b14c4e58f..79f871434b13785a7ba7967d447bf5dbbcb86368 100644 (file)
@@ -217,13 +217,14 @@ echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> kerne
 %if %{with kernel}
 cd kernel
 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
+#cat >> Makefile <<'EOF'
+#
+#$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin
+#      cp $< $@
+#EOF
+#mv nv-kernel.o{,.bin}
+#build_kernel_modules -m nvidia
+%{__make} SYSSRC=%{_kernelsrcdir} module
 %endif
 
 %install
This page took 1.426812 seconds and 4 git commands to generate.