ee1150e362
Remove tar hacks and use PKG_BUILD_DIR. Added missing URL. Changelog: d5eb2e1 exfat: remove useless check in exfat_move_file() 8cb2bc3 exfat: use i_blocksize() to get blocksize 4cd0435 exfat: fix misspellings using codespell tool 485d677 exfat: fix use of uninitialized spinlock on error path 03b3db6 exfat: remove 'rwoffset' in exfat_inode_info 90797eb exfat: replace memcpy with structure assignment d144149 exfat: remove useless directory scan in exfat_add_entry() fc67230 exfat: eliminate dead code in exfat_find() 7c25c64 exfat: fix pointer error checking bfea1fb exfat: retain 'VolumeFlags' properly Signed-off-by: Rosen Penev <rosenp@gmail.com>
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=exfat
|
|
PKG_VERSION:=5.10.1
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/namjaejeon/linux-exfat-oot/tar.gz/$(PKG_VERSION)?
|
|
PKG_HASH:=0ff77dd7d39eb231d00c3c4909b9fad31ebeeb618bd6fa18fce142becc9c1f98
|
|
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/linux-exfat-oot-$(PKG_VERSION)
|
|
|
|
PKG_MAINTAINER:=
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define KernelPackage/fs-exfat
|
|
SECTION:=kernel
|
|
CATEGORY:=Kernel modules
|
|
SUBMENU:=Filesystems
|
|
TITLE:=exFAT kernel module
|
|
URL:=https://github.com/namjaejeon/linux-exfat-oot
|
|
FILES:=$(PKG_BUILD_DIR)/exfat.ko
|
|
AUTOLOAD:=$(call AutoProbe,exfat)
|
|
DEPENDS:= +kmod-nls-base
|
|
endef
|
|
|
|
define KernelPackage/exfat/description
|
|
This package provides the kernel module for exfat.
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(KERNEL_MAKE) M="$(PKG_BUILD_DIR)" \
|
|
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
|
|
$(PKG_EXTRA_KCONFIG) \
|
|
CONFIG_EXFAT_FS=m \
|
|
modules
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,fs-exfat))
|