#
# 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
# 3. At configure time, as the toplevel module dir for building
# kernel tests
#
-# 4. At configure time, to determine the kernel's idea of $(ARCH)
-#
ifeq ($(PATCHLEVEL),)
else # PATCHLEVEL
-# case 3
-
+# case #3
ifneq ($(LUSTRE_KERNEL_TEST),)
extra-y = $(LUSTRE_KERNEL_TEST)
endif
obj-m := conftest.o
endif # PATCHLEVEL
-
-# case 4
-
-echoarch:
- echo $(ARCH) >$(ARCHFILE)
-
-TESTS := $(wildcard commit.*)
-check-commit:
- SHELL="$(SHELL)" $(SHELL) test-commit-msg.sh $(TESTS)
-
-check: check-commit
-.PHONY: check-commit