parent
0892b2b298
commit
a2e5debfeb
@ -1 +0,0 @@
|
||||
# Calculate append=skip merge(sys-kernel/calculate-sources)=>5.9,5.10
|
File diff suppressed because it is too large
Load Diff
@ -1,10 +0,0 @@
|
||||
# Calculate format=kernel name=.config
|
||||
CONFIG_CRASH_DUMP=y
|
||||
# CONFIG_PROC_VMCORE_DEVICE_DUMP is not set
|
||||
CONFIG_PROC_VMCORE=y
|
||||
# CONFIG_UFS_DEBUG is not set
|
||||
CONFIG_UFS_FS=m
|
||||
# CONFIG_UFS_FS_WRITE is not set
|
||||
# CONFIG_VMWARE_BALLOON is not set
|
||||
CONFIG_VMWARE_VMCI=m
|
||||
CONFIG_VMWARE_VMCI_VSOCKETS=m
|
@ -1,14 +0,0 @@
|
||||
# Calculate format=kernel name=.config merge(sys-kernel/calculate-sources[-desktop])!=
|
||||
# CONFIG_BT is not set
|
||||
# CONFIG_GAMEPORT is not set
|
||||
# CONFIG_HZ_1000 is not set
|
||||
# CONFIG_INPUT_JOYSTICK is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
# CONFIG_INPUT_TABLET is not set
|
||||
# CONFIG_INPUT_TOUCHSCREEN is not set
|
||||
# CONFIG_MACINTOSH_DRIVERS is not set
|
||||
# CONFIG_MEDIA_SUPPORT is not set
|
||||
# CONFIG_PREEMPT is not set
|
||||
# CONFIG_RC_CORE is not set
|
||||
# CONFIG_SOUND is not set
|
||||
# CONFIG_USB_GADGET is not set
|
@ -1,2 +0,0 @@
|
||||
# Calculate format=kernel name=.config
|
||||
CONFIG_MODULE_COMPRESS_ZSTD=y
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,74 +0,0 @@
|
||||
# Calculate format=diff
|
||||
From 86efee0f86937dff276fa488ad8818c6ac8f7823 Mon Sep 17 00:00:00 2001
|
||||
From: Piotr Gorski <lucjan.lucjanov@gmail.com>
|
||||
Date: Wed, 5 Aug 2020 16:41:38 -0800
|
||||
Subject: [PATCH] init: add support for zstd compressed modules
|
||||
|
||||
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
|
||||
---
|
||||
Makefile | 7 +++++--
|
||||
init/Kconfig | 9 ++++++---
|
||||
2 files changed, 11 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index cf40d5a71..0b0f104f6 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1047,8 +1047,8 @@ endif # INSTALL_MOD_STRIP
|
||||
export mod_strip_cmd
|
||||
|
||||
# CONFIG_MODULE_COMPRESS, if defined, will cause module to be compressed
|
||||
-# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP
|
||||
-# or CONFIG_MODULE_COMPRESS_XZ.
|
||||
+# after they are installed in agreement with CONFIG_MODULE_COMPRESS_GZIP,
|
||||
+# CONFIG_MODULE_COMPRESS_XZ, or CONFIG_MODULE_COMPRESS_ZSTD.
|
||||
|
||||
mod_compress_cmd = true
|
||||
ifdef CONFIG_MODULE_COMPRESS
|
||||
@@ -1058,6 +1058,9 @@ ifdef CONFIG_MODULE_COMPRESS
|
||||
ifdef CONFIG_MODULE_COMPRESS_XZ
|
||||
mod_compress_cmd = $(XZ) -f
|
||||
endif # CONFIG_MODULE_COMPRESS_XZ
|
||||
+ ifdef CONFIG_MODULE_COMPRESS_ZSTD
|
||||
+ mod_compress_cmd = $(ZSTD) -T0 -20 --ultra --rm -f
|
||||
+ endif # CONFIG_MODULE_COMPRESS_ZSTD
|
||||
endif # CONFIG_MODULE_COMPRESS
|
||||
export mod_compress_cmd
|
||||
|
||||
diff --git a/init/Kconfig b/init/Kconfig
|
||||
index d6a0b31b1..d6678fedc 100644
|
||||
--- a/init/Kconfig
|
||||
+++ b/init/Kconfig
|
||||
@@ -2202,8 +2202,8 @@ config MODULE_COMPRESS
|
||||
bool "Compress modules on installation"
|
||||
help
|
||||
|
||||
- Compresses kernel modules when 'make modules_install' is run; gzip or
|
||||
- xz depending on "Compression algorithm" below.
|
||||
+ Compresses kernel modules when 'make modules_install' is run; gzip,
|
||||
+ xz, or zstd depending on "Compression algorithm" below.
|
||||
|
||||
module-init-tools MAY support gzip, and kmod MAY support gzip and xz.
|
||||
|
||||
@@ -2225,7 +2225,7 @@ choice
|
||||
This determines which sort of compression will be used during
|
||||
'make modules_install'.
|
||||
|
||||
- GZIP (default) and XZ are supported.
|
||||
+ GZIP (default), XZ, and ZSTD are supported.
|
||||
|
||||
config MODULE_COMPRESS_GZIP
|
||||
bool "GZIP"
|
||||
@@ -2233,6 +2233,9 @@ config MODULE_COMPRESS_GZIP
|
||||
config MODULE_COMPRESS_XZ
|
||||
bool "XZ"
|
||||
|
||||
+config MODULE_COMPRESS_ZSTD
|
||||
+ bool "ZSTD"
|
||||
+
|
||||
endchoice
|
||||
|
||||
config MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS
|
||||
--
|
||||
2.29.0.rc0
|
||||
|
Loading…
Reference in new issue