From b68cfef16d18867357561aeb221b762daa4c2023 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 6 Jun 2013 08:25:14 +0200 Subject: [PATCH] - use nvidia's way to build kernel module, something changed in build system in linux 3.9 that makes our scriptology fail for nvidia --- xorg-driver-video-nvidia.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/xorg-driver-video-nvidia.spec b/xorg-driver-video-nvidia.spec index 2711d73..79f8714 100644 --- a/xorg-driver-video-nvidia.spec +++ b/xorg-driver-video-nvidia.spec @@ -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 -- 2.43.0