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-11546 tests: enable large_dir support for tests
[fs/lustre-release.git]
/
build
/
Makefile
diff --git
a/build/Makefile
b/build/Makefile
index
db3bd45
..
d732afc
100644
(file)
--- a/
build/Makefile
+++ b/
build/Makefile
@@
-1,11
+1,11
@@
#
#
-# 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
#
-# 2. A wrapper around the kernel's makefile when building modules, to
-# possibly override the .config file
+# 2.
A wrapper around the kernel's makefile when building modules, to
+#
possibly override the .config file
#
# 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
@@
-21,6
+21,8
@@
include autoMakefile
else
# case #2
else
# case #2
+# Note that this comes from make -C $LINUX -f $LUSTRE/build/Makefile
+# so "include Makefile" below includes $LINUX/Makefile, not this file
include $(LUSTRE_LINUX_CONFIG)
include Makefile
include $(LUSTRE_LINUX_CONFIG)
include Makefile
@@
-28,20
+30,11
@@
endif # LUSTRE_LINUX_CONFIG
else # PATCHLEVEL
else # PATCHLEVEL
-# case 3
-
+# case #3
ifneq ($(LUSTRE_KERNEL_TEST),)
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