2 # Makefile for CEPH filesystem.
5 ifneq ($(KERNELRELEASE
),)
7 obj-
$(CONFIG_CEPH_LIB
) += libceph.o
9 libceph-objs
:= ceph_common.o messenger.o msgpool.o buffer.o pagelist.o \
11 osd_client.o osdmap.o crush
/crush.o crush
/mapper.o crush
/hash.o \
16 ceph_fs.o ceph_strings.o ceph_hash.o \
20 #Otherwise we were called directly from the command
21 # line; invoke the kernel build system.
23 KERNELDIR ?
= /lib
/modules
/$(shell uname
-r
)/build
29 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) CONFIG_CEPH_LIB
=m modules
32 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) CONFIG_CEPH_LIB
=m modules_install
35 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) clean