#
-# 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
else # PATCHLEVEL
-# case 3
-
+# case #3
ifneq ($(LUSTRE_KERNEL_TEST),)
-ifeq ($(PATCHLEVEL),4)
-all: $(LUSTRE_KERNEL_TEST)
-else
extra-y = $(LUSTRE_KERNEL_TEST)
endif
-endif
obj-m := conftest.o
-ifeq ($(PATCHLEVEL),4)
-include $(TOPDIR)/Rules.make
-endif
-
endif # PATCHLEVEL