Skip to content

Commit

Permalink
exfat-oot: add new kernel package
Browse files Browse the repository at this point in the history
  • Loading branch information
aiamadeus committed Jul 31, 2022
1 parent 6fb8d90 commit ccda06e
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions package/kernel/exfat/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#
# 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.19.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:=80750bfa3bcdf743ca0d027be8244cc7b6ccd78f20304c2cabbb4011c88e4f0a
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-exfat0
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/fs-exfat0/description
This package provides the kernel module for exfat.
endef

define Build/Compile
$(KERNEL_MAKE) \
SUBDIRS="$(PKG_BUILD_DIR)" \
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
$(PKG_EXTRA_KCONFIG) \
CONFIG_EXFAT_FS=m \
modules
endef

$(eval $(call KernelPackage,fs-exfat0))

0 comments on commit ccda06e

Please sign in to comment.