File nvidia-Makefile-3.4.diff of Package nvidia-gfx

--- usr/src/nv/Makefile.kbuild	2012/05/14 23:33:31	1.1
+++ usr/src/nv/Makefile.kbuild	2012/05/14 23:34:36
@@ -139,7 +139,7 @@
 # module extension. Handle these gracefully.
 #
 
-ifeq ($(PATCHLEVEL), 4)
+ifeq ($(PATCHLEVEL), 999)
  MODULE_OBJECT := $(MODULE_NAME).o
 else
  MODULE_OBJECT := $(MODULE_NAME).ko
@@ -164,7 +164,7 @@
  EXTRA_CFLAGS += -DDEBUG -g 
 endif
 
-ifneq ($(PATCHLEVEL), 4)
+ifneq ($(PATCHLEVEL), 999)
  COMPILE_TESTS = \
 	remap_page_range \
 	remap_pfn_range \
@@ -232,7 +232,7 @@
 # More quirks for Linux 2.4 KBUILD, which doesn't link automatically.
 #
 
-ifeq ($(PATCHLEVEL), 4)
+ifeq ($(PATCHLEVEL), 999)
 $(obj)/$(MODULE_NAME).o: $($(MODULE_NAME)-objs)
 	$(LD) $(EXTRA_LDFLAGS) -r -o $@ $($(MODULE_NAME)-objs)
 endif
@@ -335,6 +335,6 @@
 # includes dependencies automatically.
 #
 
-ifeq ($(PATCHLEVEL), 4)
+ifeq ($(PATCHLEVEL), 999)
 include $(KERNEL_SOURCES)/Rules.make
 endif
openSUSE Build Service is sponsored by