Allow using this tree with dkms

* Add dkms.conf
* Make Makefile dkms-friendly
This commit is contained in:
Chih-Hsuan Yen
2019-08-25 18:56:38 -03:00
committed by Ernesto A. Fernández
parent 6269eeda47
commit 277a34e048
2 changed files with 11 additions and 2 deletions
+4 -2
View File
@@ -3,11 +3,13 @@
# Makefile for the out-of-tree Linux APFS module.
#
KERNELRELEASE ?= $(shell uname -r)
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:
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd)
make -C /lib/modules/$(KERNELRELEASE)/build M=$(shell pwd)
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean
make -C /lib/modules/$(KERNELRELEASE)/build M=$(shell pwd) clean
+7
View File
@@ -0,0 +1,7 @@
PACKAGE_NAME="linux-apfs"
PACKAGE_VERSION="0.1"
BUILT_MODULE_NAME[0]="apfs"
DEST_MODULE_LOCATION[0]="/extra"
AUTOINSTALL="yes"