Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-1943 tests: Allocate sequences on MOUNT2 in replay_barrier()
[fs/lustre-release.git]
/
build
/
Makefile
diff --git
a/build/Makefile
b/build/Makefile
index
c0538bd
..
5efb738
100644
(file)
--- a/
build/Makefile
+++ b/
build/Makefile
@@
-1,5
+1,5
@@
#
#
-# 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
#
#
# 1. As a subdirectory from the toplevel, for automake
@@
-10,6
+10,8
@@
# 3. At configure time, as the toplevel module dir for building
# kernel tests
#
# 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),)
ifeq ($(PATCHLEVEL),)
@@
-33,17
+35,21
@@
else # PATCHLEVEL
# case 3
ifneq ($(LUSTRE_KERNEL_TEST),)
# case 3
ifneq ($(LUSTRE_KERNEL_TEST),)
-ifeq ($(PATCHLEVEL),4)
-all: $(LUSTRE_KERNEL_TEST)
-else
extra-y = $(LUSTRE_KERNEL_TEST)
endif
extra-y = $(LUSTRE_KERNEL_TEST)
endif
-endif
obj-m := conftest.o
obj-m := conftest.o
-ifeq ($(PATCHLEVEL),4)
-include $(TOPDIR)/Rules.make
-endif
-
endif # PATCHLEVEL
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