File HECI-5.0.0.30.patch of Package intel-iamt-heci

diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-HECI-5.0.0.30/src/Makefile ./src/Makefile
--- ../orig-HECI-5.0.0.30/src/Makefile	2008-07-08 12:50:16.000000000 +0200
+++ ./src/Makefile	2015-05-21 11:49:13.428992252 +0200
@@ -158,12 +158,12 @@
 # get the kernel version - we use this to find the correct install path
 KVER := $(shell uname -r)
 
-KKVER := $(shell echo $(KVER) | \
-         awk '{ if ($$0 ~ /2\.[4-9]\./) print "1"; else print "0"}')
-ifeq ($(KKVER), 0)
-  $(error *** Aborting the build. \
-          *** This driver is not supported on kernel versions older than 2.4.0)
-endif
+#KKVER := $(shell echo $(KVER) | \
+#         awk '{ if ($$0 ~ /2\.[4-9]\./) print "1"; else print "0"}')
+#ifeq ($(KKVER), 0)
+#  $(error *** Aborting the build. \
+#          *** This driver is not supported on kernel versions older than 2.4.0)
+#endif
 
 # set the install path
 INSTDIR := /lib/modules/$(KVER)/kernel/drivers/char
openSUSE Build Service is sponsored by