1Fix build for linux >= 4.x 2 3Instead of relying on testing for '3' as the linux kernel major verison, 4check that it is 2.x to include the proper Makefile, otherwise forcibly 5include the .26 Makefile, that is good for 3.x and 4.x too. 6 7Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> 8 9diff -durN linux-fusion-9.0.2.orig/Makefile linux-fusion-9.0.2/Makefile 10--- linux-fusion-9.0.2.orig/Makefile 2013-07-15 11:58:03.000000000 +0200 11+++ linux-fusion-9.0.2/Makefile 2015-06-06 19:03:04.059842652 +0200 12@@ -62,10 +62,10 @@ 13 CPPFLAGS += -DHAVE_LINUX_CONFIG_H 14 endif 15 16-ifeq ($(K_VERSION),3) 17- KMAKEFILE = Makefile-2.6 18-else 19+ifeq ($(K_VERSION),2) 20 KMAKEFILE = Makefile-2.$(K_PATCHLEVEL) 21+else 22+ KMAKEFILE = Makefile-2.6 23 endif 24 25 check-version = $(shell expr \( $(K_VERSION) \* 65536 + $(K_PATCHLEVEL) \* 256 + $(K_SUBLEVEL) \) \>= \( $(1) \* 65536 + $(2) \* 256 + $(3) \)) 26