mirror of
https://github.com/versity/scoutfs.git
synced 2026-04-20 21:40:29 +00:00
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>
25 lines
500 B
Makefile
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
|