2020-07-19 04:29:58 +00:00
|
|
|
#
|
|
|
|
# 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
|
2020-10-15 03:02:46 +00:00
|
|
|
PKG_VERSION:=5.10.1
|
2020-07-19 04:29:58 +00:00
|
|
|
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)?
|
2020-10-15 03:02:46 +00:00
|
|
|
PKG_HASH:=0ff77dd7d39eb231d00c3c4909b9fad31ebeeb618bd6fa18fce142becc9c1f98
|
|
|
|
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/linux-exfat-oot-$(PKG_VERSION)
|
2020-07-19 04:29:58 +00:00
|
|
|
|
|
|
|
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
|
2020-10-15 03:02:46 +00:00
|
|
|
URL:=https://github.com/namjaejeon/linux-exfat-oot
|
2020-07-19 04:29:58 +00:00
|
|
|
FILES:=$(PKG_BUILD_DIR)/exfat.ko
|
|
|
|
AUTOLOAD:=$(call AutoProbe,exfat)
|
2020-08-06 19:24:43 +00:00
|
|
|
DEPENDS:= +kmod-nls-base
|
2020-07-19 04:29:58 +00:00
|
|
|
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))
|