summaryrefslogtreecommitdiff
path: root/drivers/block/zram/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/zram/Makefile')
-rw-r--r--drivers/block/zram/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/zram/Makefile b/drivers/block/zram/Makefile
index 757c6a5cadff..be0763ff57a2 100644
--- a/drivers/block/zram/Makefile
+++ b/drivers/block/zram/Makefile
@@ -1,3 +1,5 @@
zram-y := zcomp_lzo.o zcomp.o zram_drv.o
+zram-$(CONFIG_ZRAM_LZ4_COMPRESS) += zcomp_lz4.o
+
obj-$(CONFIG_ZRAM) += zram.o