mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
Add Kconfig and Makefile diffs
This commit is contained in:
17
contrib/linux-kernel/lib/Kconfig.diff
Normal file
17
contrib/linux-kernel/lib/Kconfig.diff
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff --git a/lib/Kconfig b/lib/Kconfig
|
||||||
|
index 260a80e..39d9347 100644
|
||||||
|
--- a/lib/Kconfig
|
||||||
|
+++ b/lib/Kconfig
|
||||||
|
@@ -239,6 +239,12 @@ config LZ4HC_COMPRESS
|
||||||
|
config LZ4_DECOMPRESS
|
||||||
|
tristate
|
||||||
|
|
||||||
|
+config ZSTD_COMPRESS
|
||||||
|
+ tristate
|
||||||
|
+
|
||||||
|
+config ZSTD_DECOMPRESS
|
||||||
|
+ tristate
|
||||||
|
+
|
||||||
|
source "lib/xz/Kconfig"
|
||||||
|
|
||||||
|
#
|
13
contrib/linux-kernel/lib/Makefile.diff
Normal file
13
contrib/linux-kernel/lib/Makefile.diff
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/lib/Makefile b/lib/Makefile
|
||||||
|
index 50144a3..b30a998 100644
|
||||||
|
--- a/lib/Makefile
|
||||||
|
+++ b/lib/Makefile
|
||||||
|
@@ -106,6 +106,8 @@ obj-$(CONFIG_LZO_DECOMPRESS) += lzo/
|
||||||
|
obj-$(CONFIG_LZ4_COMPRESS) += lz4/
|
||||||
|
obj-$(CONFIG_LZ4HC_COMPRESS) += lz4/
|
||||||
|
obj-$(CONFIG_LZ4_DECOMPRESS) += lz4/
|
||||||
|
+obj-$(CONFIG_ZSTD_COMPRESS) += zstd/
|
||||||
|
+obj-$(CONFIG_ZSTD_DECOMPRESS) += zstd/
|
||||||
|
obj-$(CONFIG_XZ_DEC) += xz/
|
||||||
|
obj-$(CONFIG_RAID6_PQ) += raid6/
|
||||||
|
|
Reference in New Issue
Block a user