2 # Makefile for CEPH filesystem.
5 ifneq ($(KERNELRELEASE
),)
7 obj-
$(CONFIG_CEPH_FS
) += ceph.o
9 ceph-objs
:= super.o inode.o
dir.o file.o addr.o ioctl.o \
10 export.o caps.o snap.o xattr.o \
11 messenger.o msgpool.o buffer.o pagelist.o \
12 mds_client.o mdsmap.o \
14 osd_client.o osdmap.o crush
/crush.o crush
/mapper.o crush
/hash.o \
19 ceph_fs.o ceph_strings.o ceph_hash.o ceph_frag.o
22 #Otherwise we were called directly from the command
23 # line; invoke the kernel build system.
25 KERNELDIR ?
= /lib
/modules
/$(shell uname
-r
)/build
31 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) CONFIG_CEPH_FS
=m modules
34 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) CONFIG_CEPH_FS
=m modules_install
37 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) clean