summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lnet/libcfs/Makefile
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@infradead.org>2016-03-08 17:35:26 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-10 17:48:53 -0800
commit71bf3883ae5723f7895226c4b5fafa452c0cd00f (patch)
tree6b142b83bc4f20ec50f4b5858b508bb2a9729835 /drivers/staging/lustre/lnet/libcfs/Makefile
parent708a24c18979af6a55fc3d9a397910af0d47872a (diff)
staging: lustre: move libcfs to lnet layer
The lustre file system has a layered architecture with libcfs as the lowest layer and LNet layered on top. Then on top of LNet we run the lustre client. This patch moves the libcfs module code out of lustre into the lnet tree. This fits into the long term goal of eventually merging libcfs into LNet. Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/libcfs/Makefile')
-rw-r--r--drivers/staging/lustre/lnet/libcfs/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lnet/libcfs/Makefile b/drivers/staging/lustre/lnet/libcfs/Makefile
new file mode 100644
index 000000000000..8c8945545375
--- /dev/null
+++ b/drivers/staging/lustre/lnet/libcfs/Makefile
@@ -0,0 +1,17 @@
+obj-$(CONFIG_LNET) += libcfs.o
+
+libcfs-linux-objs := linux-tracefile.o linux-debug.o
+libcfs-linux-objs += linux-prim.o linux-cpu.o
+libcfs-linux-objs += linux-curproc.o
+libcfs-linux-objs += linux-module.o
+libcfs-linux-objs += linux-crypto.o
+libcfs-linux-objs += linux-crypto-adler.o
+libcfs-linux-objs += linux-mem.o
+
+libcfs-linux-objs := $(addprefix linux/,$(libcfs-linux-objs))
+
+libcfs-all-objs := debug.o fail.o module.o tracefile.o \
+ libcfs_string.o hash.o prng.o workitem.o \
+ libcfs_cpu.o libcfs_mem.o libcfs_lock.o
+
+libcfs-objs := $(libcfs-linux-objs) $(libcfs-all-objs)