Files
scoutfs/kmod/Makefile
Zach Brown 11a8570117 scoutfs: remove our copy of the dlm
We don't need the dlm to track key ranges if we implement ranges by
mapping keys to resources which represent ranges of the key space.

Signed-off-by: Zach Brown <zab@versity.com>
2017-07-19 13:30:03 -07:00

25 lines
500 B
Makefile

ALL: module
# default to building against the installed source for the running kernel
ifeq ($(SK_KSRC),)
SK_KSRC := $(shell echo /lib/modules/`uname -r`/build)
endif
# fail if sparse fails if we find it
ifeq ($(shell sparse && echo found),found)
SP =
else
SP = @:
endif
SCOUTFS_ARGS := CONFIG_SCOUTFS_FS=m -C $(SK_KSRC) -I $(CURDIR)/dlm/include M=$(CURDIR)/src
all: module
module:
make $(SCOUTFS_ARGS)
$(SP) make C=2 CF="-D__CHECK_ENDIAN__" $(SCOUTFS_ARGS)
clean:
make $(SCOUTFS_ARGS) clean