2019-03-02 23:50:42 -03:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
#
|
|
|
|
|
# Makefile for the out-of-tree Linux APFS module.
|
|
|
|
|
#
|
|
|
|
|
|
2019-08-24 16:34:13 +08:00
|
|
|
KERNELRELEASE ?= $(shell uname -r)
|
2021-04-20 00:31:58 +02:00
|
|
|
KERNEL_DIR ?= /lib/modules/$(KERNELRELEASE)/build
|
2019-08-24 16:34:13 +08:00
|
|
|
|
2019-03-02 23:50:42 -03:00
|
|
|
obj-m = apfs.o
|
|
|
|
|
apfs-y = btree.o dir.o extents.o file.o inode.o key.o message.o \
|
|
|
|
|
namei.o node.o object.o super.o symlink.o unicode.o xattr.o
|
|
|
|
|
|
|
|
|
|
default:
|
2021-04-20 00:31:58 +02:00
|
|
|
make -C $(KERNEL_DIR) M=$(shell pwd)
|
2019-03-02 23:50:42 -03:00
|
|
|
clean:
|
2021-04-20 00:31:58 +02:00
|
|
|
make -C $(KERNEL_DIR) M=$(shell pwd) clean
|