Whamcloud - gitweb
LU-1914 ldlm: add doxygen comments
[fs/lustre-release.git] / build / Makefile
index 6f9b4b3..da0cda4 100644 (file)
@@ -1,7 +1,7 @@
 #
 # 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
@@ -35,19 +35,11 @@ else # PATCHLEVEL
 # 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
 
 # case 4
@@ -56,8 +48,8 @@ echoarch:
        echo $(ARCH) >$(ARCHFILE)
 
 TESTS := $(wildcard commit.*)
-check-commit :
+check-commit:
        SHELL="$(SHELL)" $(SHELL) test-commit-msg.sh $(TESTS)
 
-check : check-commit
+check: check-commit
 .PHONY: check-commit