File x.patch of Package proatm-kmp

diff --git a/Makefile b/Makefile
index eccd817..d5f1c0a 100755
--- a/Makefile
+++ b/Makefile
@@ -78,38 +78,38 @@ else
 endif
 endif
 
-# Version file Search Path
-VSP :=  $(KOBJ)/include/generated/utsrelease.h \
-        $(KOBJ)/include/linux/utsrelease.h \
-		$(KOBJ)/include/generated/uapi/linux/version.h \
-        $(KOBJ)/include/linux/version.h \
-        /boot/vmlinuz.version.h
-
-# Config file Search Path
-CSP :=  $(KSRC)/include/generated/autoconf.h \
-        $(KSRC)/include/linux/autoconf.h \
-        /boot/vmlinuz.autoconf.h
-
-# prune the lists down to only files that exist
-test_file = $(shell [ -f $(file) ] && echo $(file))
-VSP := $(foreach file, $(VSP), $(test_file))
-CSP := $(foreach file, $(CSP), $(test_file))
-
-# and use the first valid entry in the Search Paths
-ifeq (,$(VERSION_FILE))
-  VERSION_FILE := $(firstword $(VSP))
-endif
-ifeq (,$(CONFIG_FILE))
-  CONFIG_FILE := $(firstword $(CSP))
-endif
-
-ifeq (,$(wildcard $(VERSION_FILE)))
-  $(error Linux kernel source not configured - missing version header file)
-endif
-
-ifeq (,$(wildcard $(CONFIG_FILE)))
-  $(error Linux kernel source not configured - missing autoconf.h)
-endif
+## Version file Search Path
+#VSP :=  $(KOBJ)/include/generated/utsrelease.h \
+#        $(KOBJ)/include/linux/utsrelease.h \
+#		$(KOBJ)/include/generated/uapi/linux/version.h \
+#        $(KOBJ)/include/linux/version.h \
+#        /boot/vmlinuz.version.h
+#
+## Config file Search Path
+#CSP :=  $(KSRC)/include/generated/autoconf.h \
+#        $(KSRC)/include/linux/autoconf.h \
+#        /boot/vmlinuz.autoconf.h
+
+## prune the lists down to only files that exist
+#test_file = $(shell [ -f $(file) ] && echo $(file))
+#VSP := $(foreach file, $(VSP), $(test_file))
+#CSP := $(foreach file, $(CSP), $(test_file))
+#
+## and use the first valid entry in the Search Paths
+#ifeq (,$(VERSION_FILE))
+#  VERSION_FILE := $(firstword $(VSP))
+#endif
+#ifeq (,$(CONFIG_FILE))
+#  CONFIG_FILE := $(firstword $(CSP))
+#endif
+#
+#ifeq (,$(wildcard $(VERSION_FILE)))
+#  $(error Linux kernel source not configured - missing version header file)
+#endif
+#
+#ifeq (,$(wildcard $(CONFIG_FILE)))
+#  $(error Linux kernel source not configured - missing autoconf.h)
+#endif
 
 # pick a compiler
 ifneq (,$(findstring egcs-2.91.66, $(shell cat /proc/version)))
@@ -179,11 +179,11 @@ endif
 KVER_CODE := $(shell $(CC) $(EXTRA_CFLAGS) -E -dM $(VSP) 2>/dev/null |\
 	grep -m 1 LINUX_VERSION_CODE | awk '{ print $$3 }' | sed 's/\"//g')
 
-# abort the build on kernels older than 2.6.0
-ifneq (1,$(shell [ $(KVER_CODE) -ge 132608 ] && echo 1 || echo 0))
-  $(error *** Aborting the build. $(KVER_CODE) \
-          *** This driver is not supported on kernel versions older than 2.6.0)
-endif
+## abort the build on kernels older than 2.6.0
+#ifneq (1,$(shell [ $(KVER_CODE) -ge 132608 ] && echo 1 || echo 0))
+#  $(error *** Aborting the build. $(KVER_CODE) \
+#          *** This driver is not supported on kernel versions older than 2.6.0)
+#endif
 
 
 # set the install path
openSUSE Build Service is sponsored by