Files
openwrt/package/kernel/ntfs/Makefile
T
Qingfang Deng 54d2b5d779 ntfs: update to 2026-05-03
Update to the latest version.

Changes:
- fix NULL dereference in ntfs_index_walk_down()
- fix WSL symlink target leak on reparse failure
- conditionally enable POSIX ACL
- fix error handling in ntfs_write_iomap_end_resident()
- fix VCN overflow in ntfs_mapping_pairs_decompress()
- drop nlink once for WIN32/DOS aliases
- fix invalid PTR_ERR() usage in __ntfs_bitmap_set_bits_in_run()
- Use return instead of goto in ntfs_mapping_pairs_decompress()

Removed upstreamed patch:
- 001-conditionally-enable-posix-acl.patch

Signed-off-by: Qingfang Deng <dqfext@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23292
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-05-14 19:05:45 +02:00

53 lines
1.2 KiB
Makefile

include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=linux-ntfs
PKG_RELEASE:=1
PKG_BUILD_PARALLEL:=1
PKG_SOURCE_DATE:=2026-05-03
PKG_SOURCE_URL:=https://github.com/namjaejeon/linux-ntfs
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=9e031cf453d8b3c226aac7cb7105af46efd79690
PKG_MIRROR_HASH:=142b99c910b1dbf35ec97abee65f5f497e4a4fdf4619999f83742ed4f2e83d79
PKG_LICENSE:=GPL-2.0-or-later
PKG_MAINTAINER:=Qingfang Deng <dqfext@gmail.com>
include $(INCLUDE_DIR)/package.mk
define KernelPackage/fs-ntfs
SECTION:=kernel
CATEGORY:=Kernel modules
SUBMENU:=Filesystems
TITLE:=NTFS file system support
DEPENDS:=+kmod-nls-base
URL:=$(PKG_SOURCE_URL)
FILES:=$(PKG_BUILD_DIR)/ntfs.ko
AUTOLOAD:=$(call AutoProbe,ntfs)
endef
define KernelPackage/fs-ntfs/description
NTFS is the file system of Microsoft Windows NT, 2000, XP and 2003.
This allows you to mount devices formatted with the ntfs file system.
endef
NOSTDINC_FLAGS += \
$(KERNEL_NOSTDINC_FLAGS)
EXTRA_KCONFIG:= \
CONFIG_NTFS_FS=m
MAKE_OPTS:= \
M="$(PKG_BUILD_DIR)" \
NOSTDINC_FLAGS="$(NOSTDINC_FLAGS)" \
$(EXTRA_KCONFIG)
define Build/Compile
+$(KERNEL_MAKE) $(PKG_JOBS) $(MAKE_OPTS) modules
endef
$(eval $(call KernelPackage,fs-ntfs))