]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add Kconfig and Makefile diffs
authorNick Terrell <terrelln@fb.com>
Wed, 5 Apr 2017 01:37:55 +0000 (18:37 -0700)
committerNick Terrell <terrelln@fb.com>
Wed, 5 Apr 2017 01:37:55 +0000 (18:37 -0700)
contrib/linux-kernel/lib/Kconfig.diff [new file with mode: 0644]
contrib/linux-kernel/lib/Makefile.diff [new file with mode: 0644]

diff --git a/contrib/linux-kernel/lib/Kconfig.diff b/contrib/linux-kernel/lib/Kconfig.diff
new file mode 100644 (file)
index 0000000..07ae539
--- /dev/null
@@ -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"
+ #
diff --git a/contrib/linux-kernel/lib/Makefile.diff b/contrib/linux-kernel/lib/Makefile.diff
new file mode 100644 (file)
index 0000000..be6182b
--- /dev/null
@@ -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/