forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: ramips: use mt proprietary driver for XiaoMI MI R4 (coolsnowwolf#5244) linux: improve exFAT support (coolsnowwolf#5249)
- Loading branch information
Showing
7 changed files
with
96 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# | ||
# 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.8.4 | ||
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:=47162495bdf9a7e02d6142dfcd4364d7325a4cf75a0439926cf9e8a9d959627b | ||
|
||
PKG_MAINTAINER:= | ||
PKG_LICENSE:=GPL-2.0-only | ||
|
||
#PKG_BUILD_PARALLEL:=1 | ||
#PKG_USE_MIPS16:=0 | ||
|
||
# exfat-oot's makefile needs this to know where to build the kernel module | ||
#export KERNELDIR:=$(LINUX_DIR) | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
#include $(INCLUDE_DIR)/kernel-defaults.mk | ||
|
||
TAR_OPTIONS+= --strip-components 1 | ||
TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS) | ||
|
||
define KernelPackage/fs-exfat | ||
SECTION:=kernel | ||
CATEGORY:=Kernel modules | ||
SUBMENU:=Filesystems | ||
TITLE:=exFAT kernel module | ||
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 | ||
# $(MAKE) -C $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) M="$(PKG_BUILD_DIR)" modules | ||
endef | ||
|
||
$(eval $(call KernelPackage,fs-exfat)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- a/super.c | ||
+++ b/super.c | ||
@@ -292,14 +292,14 @@ static const struct fs_parameter_spec exfat_param_specs[] = { | ||
#endif | ||
fsparam_flag("discard", Opt_discard), | ||
fsparam_s32("time_offset", Opt_time_offset), | ||
- __fsparam(NULL, "utf8", Opt_utf8, fs_param_deprecated, | ||
- NULL), | ||
- __fsparam(NULL, "debug", Opt_debug, fs_param_deprecated, | ||
- NULL), | ||
+ __fsparam(NULL, "utf8", Opt_utf8, fs_param_deprecated | ||
+ ), | ||
+ __fsparam(NULL, "debug", Opt_debug, fs_param_deprecated | ||
+ ), | ||
__fsparam(fs_param_is_u32, "namecase", Opt_namecase, | ||
- fs_param_deprecated, NULL), | ||
+ fs_param_deprecated), | ||
__fsparam(fs_param_is_u32, "codepage", Opt_codepage, | ||
- fs_param_deprecated, NULL), | ||
+ fs_param_deprecated), | ||
{} | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters