4 Commits

Author SHA1 Message Date
Luflosi c2e90ebe64 Allow changing KERNEL_DIR (#8)
Allow building in a different directory.
This is useful on NixOS, where all software is stored under /nix.
As a nice side-effect, this change also reduces code duplication a little.
2021-04-19 19:31:58 -03:00
Chih-Hsuan Yen 277a34e048 Allow using this tree with dkms
* Add dkms.conf
* Make Makefile dkms-friendly
2019-08-25 18:56:38 -03:00
Ernesto A. Fernández 990444da8d Replace 'SUBDIRS' with 'M' in Makefile
When the module is built under Linux 5.0, a warning is given about the
use of 'SUBDIRS'.  Replace it with 'M', as the message suggests.

Signed-off-by: Ernesto A. Fernández <ernesto.mnd.fernandez@gmail.com>
2019-03-07 11:56:09 -03:00
Ernesto A. Fernández 72e6425af6 Set up a standalone repository for the APFS module
Copy the code of the APFS module into its own repository, without the
rest of the kernel tree.  Development will continue upstream, but the
intention is to make life easier for potential users.

To get the module to build independently, rewrite the Makefile and
add a definition for the APFS_SUPER_MAGIC macro.  Since the intention is
to support a range of kernel versions, use preprocessor checks to handle
kernels without statx, without iversion, and without SB_RDONLY.

Provide a README file based on the upstream documentation, but with
additional build and mount instructions.  Add a LICENSE file as well.

Signed-off-by: Ernesto A. Fernández <ernesto.mnd.fernandez@gmail.com>
2019-03-03 17:29:23 -03:00