Whamcloud - gitweb
LU-15166 tests: restore osp-syn threads after test_818
[fs/lustre-release.git] / build / Makefile
index c0538bd..5304d7a 100644 (file)
@@ -1,7 +1,7 @@
 #
-# There are three ways this Makefile can be called:
+# There are four ways this Makefile can be called:
+#
 #
-# 
 # 1.  As a subdirectory from the toplevel, for automake
 #
 # 2.  A wrapper around the kernel's makefile when building modules, to
@@ -30,20 +30,14 @@ endif # LUSTRE_LINUX_CONFIG
 
 else # PATCHLEVEL
 
-# case 3
-
+# case #3
 ifneq ($(LUSTRE_KERNEL_TEST),)
-ifeq ($(PATCHLEVEL),4)
-all: $(LUSTRE_KERNEL_TEST)
-else
+# extra-y works prior to 5.10
 extra-y = $(LUSTRE_KERNEL_TEST)
-endif
+# always-y works since 5.6
+always-y = $(LUSTRE_KERNEL_TEST)
 endif
 
 obj-m := conftest.o
 
-ifeq ($(PATCHLEVEL),4)
-include $(TOPDIR)/Rules.make
-endif
-
 endif # PATCHLEVEL