Add Kconfig and Makefile diffs

This commit is contained in:
Nick Terrell 2017-04-04 18:37:55 -07:00
parent 60b34b0d1c
commit 7f510a7797
2 changed files with 30 additions and 0 deletions

View 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"
#

View 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/