#
|
|
# Copyright (C) 2014 Bruno Randolf <br1@einfach.org>
|
|
#
|
|
# 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-nofuse
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_URL:=https://github.com/dorimanx/exfat-nofuse.git
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_DATE:=2017-06-20
|
|
PKG_SOURCE_VERSION:=de4c760bc9a05ead83bc3ec6eec6cf1fb106f523
|
|
PKG_MIRROR_HASH:=2aa53a83daf4be46e437842ee67d2e0ea327642cb6b8856a79153b52ec726a57
|
|
|
|
PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
|
|
PKG_LICENSE:=GPL-2.0
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define KernelPackage/fs-exfat
|
|
SUBMENU:=Filesystems
|
|
TITLE:=ExFAT Kernel driver
|
|
FILES:=$(PKG_BUILD_DIR)/exfat.ko
|
|
AUTOLOAD:=$(call AutoLoad,30,exfat,1)
|
|
DEPENDS:=+kmod-nls-base @BUILD_PATENTED
|
|
endef
|
|
|
|
define KernelPackage/fs-exfat/description
|
|
Kernel module for ExFAT Filesytems
|
|
endef
|
|
|
|
MAKE_OPTS:= \
|
|
ARCH="$(LINUX_KARCH)" \
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
M="$(PKG_BUILD_DIR)"
|
|
|
|
define Build/Compile
|
|
$(MAKE) -C "$(LINUX_DIR)" \
|
|
$(MAKE_OPTS) \
|
|
CONFIG_EXFAT_FS=m \
|
|
modules
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,fs-exfat))
|