summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2015-04-28 17:11:18 +0100
committerBruno Randolf <br1@einfach.org>2015-04-28 17:24:25 +0100
commitd2fef65165cbb9d7bb2bad07a482c154131b6941 (patch)
treeccfd21de55c0970fca5d3d389685982082dcb807 /kernel
parentaaa687c26274ab6de6f5fc83f51d7776ea528a6a (diff)
Add exfat-nofuse: EXFAT filesystem kernel driver
Add "exfat-nofuse" kernel module for EXFAT filesystem which was originally found in an Android kernel of Samsung. While there has been some doubt about the license originally, it has later been officially released under the GPL by Samsung and can be found on: http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=exfat Signed-off-by: Bruno Randolf <br1@einfach.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/exfat-nofuse/Makefile51
1 files changed, 51 insertions, 0 deletions
diff --git a/kernel/exfat-nofuse/Makefile b/kernel/exfat-nofuse/Makefile
new file mode 100644
index 000000000..e87d91637
--- /dev/null
+++ b/kernel/exfat-nofuse/Makefile
@@ -0,0 +1,51 @@
+#
+# 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_VERSION:=git-20150301
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=https://github.com/dorimanx/exfat-nofuse.git
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_VERSION:=63964d3fb69cffe9a38822a657bb3b3279eebadf
+
+PKG_MAINTAINER:=Bruno Randolf <br1@einfach.org>
+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
+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))