aur/0099-fs-ntfsplus-Makefile-DKMS-patch.patch
shadichy 1cced6f375
Sync source with upstream
The module has been renamed to `ntfs`. Therefore I must update the patches and files and also, create an alias for `modprobe` to point to the correct module. Which means, `modprobe ntfsplus` is now equals to `modprobe ntfs`.

I am not having any plan to rename it back to `ntfsplus` yet, as `ntfs` was completely removed in linux v6.9, and I also don't have any plan to backport it further down to <6.12. The original maintainer (Namjae Jeon) already has a plan to release his own OOT repository which also contains his own backports (back to 5.10 LTS as he stated in our Email conversation).

Until when Jeon publish his OOT maintenace repository of `ntfsplus` (or now let's call it next-gen `ntfs`), I will still continue maintaining this backport on my own.

Signed-off-by: shadichy <shadichy@blisslabs.org>
2025-12-29 22:20:30 +07:00

33 lines
908 B
Diff

From a09654cbc72293d3ed917f57819feb2926f6d1ce Mon Sep 17 00:00:00 2001
From: shadichy <shadichy@blisslabs.org>
Date: Mon, 29 Dec 2025 20:24:51 +0700
Subject: [PATCH] fs/ntfs/Makefile: DKMS patch
Signed-off-by: shadichy <shadichy@blisslabs.org>
---
fs/ntfs/Makefile | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/fs/ntfs/Makefile b/fs/ntfs/Makefile
index 01faad8cbbc9..a06137f85b81 100644
--- a/fs/ntfs/Makefile
+++ b/fs/ntfs/Makefile
@@ -16,3 +16,15 @@ ntfs-y := aops.o attrib.o collate.o dir.o file.o index.o inode.o \
iomap.o debug.o sysctl.o quota.o
ccflags-$(CONFIG_NTFS_DEBUG) += -DDEBUG
+
+ccflags-$(CONFIG_NTFS_FS_POSIX_ACL) += -DCONFIG_NTFS_FS_POSIX_ACL
+
+KERNEL_SRC ?= /lib/modules/$(KVERSION)/build
+
+ccflags-y += -I$(PWD)/include
+
+all:
+ make -C $(KERNEL_SRC) M=$(PWD) modules
+
+clean:
+ make -C $(KERNEL_SRC) M=$(PWD) clean
\ No newline at end of file
--
2.52.0